Jump to content
Sign in to follow this  
gunnapong

Code Color

Recommended Posts

Hello @gunnapong,

 

Color is represented as follows in RGB format: 0xTTRRGGBB

TT - transparency, from 0 to 255*;

RR - red color component, from 0 to 255*;

GG - green color component, from 0 to 255*;

BB - blue color component, from 0 to 255*.

Numbers from 0 to 255 are represented in hexadecimal form (00 ... FF).

 

To get different colors, you can use paint, photoshop or various online color matching services, as noted by @ShadowJr.

 

Some examples of colors:

0xFFFF0000 - Red;

0xFF00FF00 - Green;

0xFF0000FF - Blue;

0xFF000000 - Black;

0xFFFFFFFF - White;

0xFFFF8000 - Orange.

  • Thanks 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...