⤺ color picker
0
Reddit

#2a221a Color Hex

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


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

Color information

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

Conversions

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

Color harmonies

#2a221a color HTML and CSS codes

Example CSS code:

.setFontColor { color: #2a221a; }
.setBackgroundColor { background-color: #2a221a; }

#2a221a text/font color

How to set font color?

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

Font color is #2a221a.

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

#2a221a background color

How to set background color?

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

Background color is #2a221a.

Compromise in colors is grey.
- Edi Rama