Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
coopdaddyswag
Binge Watcher

Color Codes

I am having difficulty figuring out what the correct color codes are, especially ColorFieldInterpolator. It seemed like I could just use hex color codes but that seemed to be completely off. I wanted this color (a gray). 

However, when I use it as a keyValue in the ColorFieldInterpolator, I am given shades of blue.

Is there a color dictionary or a way to convert colors to this 'format'? What format are these color codes?

Thanks
0 Kudos
2 REPLIES 2
renojim
Community Streaming Expert

Re: Color Codes

I haven't used it, but are you giving a full 32 bit value? You should be using 0x585858FF for the keyValue.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
coopdaddyswag
Binge Watcher

Re: Color Codes

I have determined that the colors are in the format:

0xRRGGBBAA

Not sure what the '0x' represents, but the last two digits are the alpha values of the color (opacity).

I wrote this forum post for future reference.