⤺ color picker
0
Reddit

#ff2222 Color Hex #f22

Hex color #ff2222, RGB(255, 34, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


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

Color information

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

Conversions

Hex:
#ff2222
CMYK:
C: 0%, M: 86.67%, Y: 86.67%, K: 0%
RGB:
R: 255, G: 34, B: 34
HSL:
H: , S: 100%, L: 56.7%

Color harmonies

#ff2222 color HTML and CSS codes

Example CSS code:

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

#ff2222 text/font color

How to set font color?

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

Font color is #ff2222.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#ff2222 background color

How to set background color?

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

Background color is #ff2222.

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