Color Value Conversion Tool
Convert RGB Color Values to Hexadecimal Color Codes
Convert Hexadecimal Color Codes to RGB Color Values
RGB Color Mode
The RGB color mode uses the RGB model to assign an intensity value in the range of 0 to 255 for each RGB component of every pixel in an image. An RGB image uses only three colors, which can be mixed in different proportions to reproduce 16,777,216 colors on the screen.
In the RGB mode, each RGB component can use values from 0 (black) to 255 (white). For example, bright red uses an R value of 255, a G value of 0, and a B value of 0. When all three component values are equal, it produces shades of gray. When all component values are 255, the result is pure white; when the value is 0, the result is pure black.
The hexadecimal color code is formed by converting the R, G, and B color values into hexadecimal and then adding a # in front.