Top ▲

Conversor RGB to hex

RGB Values to Conversor


RGB is the set of three additive colors consisting of red (R), Green (G) and Blue (B). Its main function is to color reproduction in electronic devices such as TV monitors and computers, datashow, scanners and digital cameras, as well as in traditional photography. The RGB model is based on trichromatic vision theory of Helmholtz Young and Maxwell.
The scale of 0 to 255 is used because it is the maximum number of values that can be stored within 1 byte (8 bits). But programmers can change the storage size manipulating the data type.
In the HTML programming language can be converted to hexadecimal values and sometimes, RGB can be placed directly in the code. 
Example: rgb (160, 32, 240). R = 160, G = 32, B = 240 generating color: Purple.

Convert your RGB to Hex:


R:  G:  B:  #

Warning! Don´t forget to add: # in front of hex code. Ex: 8CDE00 --> #8CDE00

No comments:

Post a Comment