Talk:PROJ FLASH COLOR: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Created page with 'How exactly is color determined from the number? Is there a way to distinguish intensity? -~~~~'
 
Diaz (talk | contribs)
No edit summary
 
Line 2: Line 2:


-[[User:Hendricks 266|Hendricks266]] 15:28, 23 December 2009 (PST)
-[[User:Hendricks 266|Hendricks266]] 15:28, 23 December 2009 (PST)
According to TX:
The color is set by adding the red value plus the green value shifted left 8 bits plus the blue value shifted left 16 bits. So, RGB of 100, 100, 100 would be "6579300" since that's 100 + 100<<8 (25600) + 100<<16 (6553600). 150, 100, 255 would be 16737380.
--[[User:Diaz|Diaz]] ([[User talk:Diaz|talk]]) 06:59, 27 March 2012 (PDT)

Latest revision as of 06:59, 27 March 2012

How exactly is color determined from the number? Is there a way to distinguish intensity?

-Hendricks266 15:28, 23 December 2009 (PST)

According to TX:

The color is set by adding the red value plus the green value shifted left 8 bits plus the blue value shifted left 16 bits. So, RGB of 100, 100, 100 would be "6579300" since that's 100 + 100<<8 (25600) + 100<<16 (6553600). 150, 100, 255 would be 16737380.

--Diaz (talk) 06:59, 27 March 2012 (PDT)