Message Boards Message Boards


Get color information and determine color coordinates?

Posted 1 year ago
1 Reply
3 Total Likes

Hi, I've a background in color theory from years ago but the last time I used Mathematica was probably v.2. My concern is with colors, not images. I've been reading and experimenting with the documentation here:

Now lets suppose I have a color from somewhere; e.g.

mycolor = Blend[{Purple, LightBlue}, 0.5] ;
  1. Does this have an absolute internal representation or is it relative to some colorspace -- and if so, how do I determine which one?
  2. How do I determine the color coordinates of an arbitrary color in a given colorspace? For example, what procedure will yield the (approximate) RGB coordinates of mycolor?

Thank you for your replies.

Purple, Lightblue and their blends are all RGB colors

Purple // FullForm

returns RGBColor[0.5,0,0.5]


returns RGBColor[0.87,0.94,1] and


returns RGBColor[0.685,0.47,0.75]`

I hope this answers your question.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract