Learn how to use the color code #ff0000 for red in different color spaces and schemes. See examples of red color harmonies, contrast, and compatibility with other colors. The hexadecimal RGB code of Red color is #FF0000 and the decimal is rgb (255,0,0). The red-green-blue components are FF (255) red, 00 (0) green and 00 (0) blue. What is a HTML color code? A HTML color code is an identifier used to represent a color on the web and within other digital assets. Common color codes are in the forms of: a keyword name, a hexadecimal value, a RGB (red, green, blue) triplet, or a HSL (hue, saturation, lightness) triplet. Different values allow for 16,777,216 potential colors to be chosen. For example, the color red can be identifier using the following formats: red (keyword name) #ff0000 (hex) (255,0,0) (RGB) (0, 100%, 50% ... Red Color Codes: HEX, RGB, and CMYK. Find hex, RGB and CMYK color values of some favorite shades of red.