⤺ color picker
0
Reddit

#021221 Color Hex

Hex color #021221, RGB(2, 18, 33) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #021221 is a shade of blue-cyan. In a RGB color space it is composed of 0.78% red, 7.06% green and 12.94% blue. In HSL notation it has 209° hue, 88.6% saturation and 6.9% lightness. The process color (CMYK) is combination of 93.94% cyan, 45.45% magenta, 0% yellow and 87.06% key (black). The closest short hexadecimal code of #021221 is #012.

Color information

  • #021221 is a shade of blue-cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 93.94%
    • Magenta: 45.45%
    • Yellow: 0%
    • Key color - black: 87.06%
  • In the HSL model coordinates are:
    • Hue: 209° degrees
    • Saturation: 88.6%
    • Lightness: 6.9%
  • The values in the RGB color space are:
    • Red: 2 (0.78%)
    • Green: 18 (7.06%)
    • Blue: 33 (12.94%)

Conversions

Hex:
#021221
CMYK:
C: 93.94%, M: 45.45%, Y: 0%, K: 87.06%
RGB:
R: 2, G: 18, B: 33
HSL:
H: 209°, S: 88.6%, L: 6.9%

Color harmonies

#021221 color HTML and CSS codes

Example CSS code:

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

#021221 text/font color

How to set font color?

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

Font color is #021221.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant

#021221 background color

How to set background color?

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

Background color is #021221.

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