Forums > MaxMSP

Color management in Max?

October 15, 2013 | 3:52 am

Hello

I need to get #0066c color on a panel in Max. However, when setting the values, I get a much darker blue than it should be. Is there something that I am missing here?

http://www.colorhexa.com/0066cc

<code>

– Pasted Max Patch, click to expand. –

</code>


October 15, 2013 | 4:39 am

basing on what the link you provided says, the color is 0% Red, 40% Green and 80% Blue.
So the RGBA values should be: 0.(R) 0.4(G) 0.8(B) 1.(A)
<code>

– Pasted Max Patch, click to expand. –

</code>


October 15, 2013 | 9:57 am

edit: i should read before posting


October 15, 2013 | 1:25 pm

The panel object takes RGB values that are scaled between 0. and 1.

To scale your values, given the link you provided, you can either use the "RGB percent" values (0, 40, 80) and divide each by 100… or use the "RGB decimal" values (0, 102, 204) and divide each by 255. I recommend using the "RGB decimal" values, as they are the most commonly used standard.

-

– Pasted Max Patch, click to expand. –

Viewing 4 posts - 1 through 4 (of 4 total)