⤺ color picker
4
Reddit

#ff0000 Color Hex (red) #f00

Hex color #ff0000, RGB(255, 0, 0) - also known as red - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #ff0000 is a shade of red. In a RGB color space it is composed of 100% red, 0% green and 0% blue. In HSL notation it has 0° hue, 100% saturation and 50% lightness. The process color (CMYK) is combination of 0% cyan, 100% magenta, 100% yellow and 0% key (black). The closest short hexadecimal code of #ff0000 is #f00.

Color information

  • #ff0000 is a shade of red.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 100%
    • Yellow: 100%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 0° degrees
    • Saturation: 100%
    • Lightness: 50%
  • The values in the RGB color space are:
    • Red: 255 (100%)
    • Green: 0 (0%)
    • Blue: 0 (0%)

Conversions

Hex:
#ff0000
CMYK:
C: 0%, M: 100%, Y: 100%, K: 0%
RGB:
R: 255, G: 0, B: 0
HSL:
H: , S: 100%, L: 50%

Color harmonies

#ff0000 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #ff0000; }
.setBackgroundColor { background-color: #ff0000; }

#ff0000 text/font color

How to set font color?

<p style="color:#ff0000">Font color is #ff0000.</p>

Font color is #ff0000.

Compromise in colors is grey.
- Edi Rama

#ff0000 background color

How to set background color?

<div style="background-color:#ff0000">Background color is #ff0000.</div>

Background color is #ff0000.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore