Linked Questions

1 vote
1 answer
175 views

thank u for taking time to read my question. It is probably a beginner level question, but I did a lot of search without finding an answer. I am starting to learn React, and at the very beginning of ...
Yutian Li's user avatar
53 votes
7 answers
22k views

Original Question I am looking for a function that attempts to quantify how "distant" (or distinct) two colors are. This question is really in two parts: What color space best represents human ...
Louis Brandy's user avatar
  • 20.1k
29 votes
5 answers
12k views

I would like to test a function with a tuple from a set of fringe cases and normal values. For example, while testing a function which returns true whenever given three lengths that form a valid ...
nlucaroni's user avatar
  • 48k
20 votes
5 answers
25k views

I want to create a pie with 12 slices, with each slice a different colour. Pretty much every colour wheel seems to follow the same format; eg: http://www.tigercolor.com/color-lab/color-theory/color-...
P i's user avatar
  • 31.3k
3 votes
2 answers
2k views

I want to generate colors that go well with a given UIColor (Triadic, Analogues, Complement etc). I have read a lot of posts like this and this and this. In the last post, The answerer suggested ...
Sweeper's user avatar
  • 292k
3 votes
3 answers
4k views

I'd like to create a function to give N equidistant RGB colors. How do we define "distance" in this case? Well, I'm not too sure, but I was thinking to use a color wheel definition. Hence, if I can ...
CodeGuy's user avatar
  • 29k
5 votes
1 answer
2k views

Here we have an interesting real-world algorithm requirement involving colors. N Pretty Colors: In order to draw a beautiful chart (i.e: pie chart) we need to pick a random set of N colors that are "...
1 vote
1 answer
3k views

Here's my situation. Say I have two columns of data containing different elements. I'd like to highlight with a different color, all matching elements between those two columns. Each of those ...
Dirk's user avatar
  • 6,914
5 votes
1 answer
2k views

I have a set of 256 colors (all available colors in an xterm-256color terminal) and I am using a script called 256colors2.pl that I see mentioned in nearly every Internet article that talks about 256 ...
Jacobo de Vera's user avatar
2 votes
2 answers
650 views

I have a map of pre-defined colors and a given color to select one nearest match. If i will use distance formula, would I be calculating the distance from each pre-defined color in map rather than ...
user963241's user avatar
  • 7,128