View Full Version : 32bit Color: Industry Default for Display
12-16-2009, 08:07 PM
Hey ok so I cant figure out this. What is the industrial numerical standard for 32bit color. Percentage wise 0-100% for each channel, or like Photoshop displays, as behind the decimal point (.0-1).?
12-16-2009, 09:01 PM
32bit as in 24bit RGB + 8bit alpha = 32 bit?
8bit Red channel
8bit Blue channel
8bit Green channel
8bit grayscale alpha
in that case for each channel 0 - 255 or 1-256 depending on the scripting language.
12-16-2009, 09:27 PM
I was just looking through Unity's docs last night, and I think their JS scripting uses 0-1 for each rgb value.
12-16-2009, 09:33 PM
thats just a floating value representation, in the end its stored as a 8bit short value (integer from 0-255).
What unity does in the background is simply multiplying that number with 255 and convert it to a integer value.
For web development especially in the area of Flash Hexadecimal values are very speedy to work with because you don't have to copy and paste multiple entries but just 1 string to represent 24 and or even 32 bit color values, like 0FFF006C1 for a solid pink. They also work great in After Effects, Photoshop and Dreamweaver. Unfortunately many other industry applications haven't yet fully adopted that model like 3dsmax. In that case you always have to swap applications and copy paste all 3 RGB/A values over.
Adam L. Gray
12-17-2009, 07:59 AM
Wait a min, perhaps slightly off-topic but I thought hex only used 6 digits? As in:
#FF9900 being 255-153-00
So how exactly would it work if you got nine digits?
#0FFF006C1 = 025-125-?? I'm confused :[
12-17-2009, 03:09 PM
it depends on the app and if it supports it, otherwise you are right its just 6 for the RRGGBB. The first 2 of the 8 digits are the alpha value.
But I guess hex values don't matter much here since autodesk doesn't know about them in their apps.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.