Convert HEX to RGB with PIXI.js 3.0
By Łukasz Jagodziński
02 Oct 2015 07:15
An example showing how to convert HEX to RGB using Tizen 2.3.
PIXI.utils.hex2rgb(16711680); // [1.0, 0, 0] - Red
// Notice that 1.0 is equivalent for 255, 0.0 for 0 and 0.5 for 127
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
Enter a description.