⤺ color picker
0
Reddit

#222a1a Color Hex

Hex color #222a1a, RGB(34, 42, 26) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #222a1a is a shade of green-yellow. In a RGB color space it is composed of 13.33% red, 16.47% green and 10.2% blue. In HSL notation it has 90° hue, 23.5% saturation and 13.3% lightness. The process color (CMYK) is combination of 19.05% cyan, 0% magenta, 38.10% yellow and 83.53% key (black). The closest short hexadecimal code of #222a1a is #221.

Color information

  • #222a1a is a shade of green-yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 19.05%
    • Magenta: 0%
    • Yellow: 38.10%
    • Key color - black: 83.53%
  • In the HSL model coordinates are:
    • Hue: 90° degrees
    • Saturation: 23.5%
    • Lightness: 13.3%
  • The values in the RGB color space are:
    • Red: 34 (13.33%)
    • Green: 42 (16.47%)
    • Blue: 26 (10.2%)

Conversions

Hex:
#222a1a
CMYK:
C: 19.05%, M: 0%, Y: 38.10%, K: 83.53%
RGB:
R: 34, G: 42, B: 26
HSL:
H: 90°, S: 23.5%, L: 13.3%

Color harmonies

#222a1a color HTML and CSS codes

Example CSS code:

.setFontColor { color: #222a1a; }
.setBackgroundColor { background-color: #222a1a; }

#222a1a text/font color

How to set font color?

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

Font color is #222a1a.

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

#222a1a background color

How to set background color?

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

Background color is #222a1a.

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