⤺ color picker
0
Reddit

#2f2a2a Color Hex

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


The hex color code #2f2a2a is a shade of red. In a RGB color space it is composed of 18.43% red, 16.47% green and 16.47% blue. In HSL notation it has 0° hue, 5.6% saturation and 17.5% lightness. The process color (CMYK) is combination of 0% cyan, 10.64% magenta, 10.64% yellow and 81.57% key (black). The closest short hexadecimal code of #2f2a2a is #222.

Color information

  • #2f2a2a is a shade of red.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 10.64%
    • Yellow: 10.64%
    • Key color - black: 81.57%
  • In the HSL model coordinates are:
    • Hue: 0° degrees
    • Saturation: 5.6%
    • Lightness: 17.5%
  • The values in the RGB color space are:
    • Red: 47 (18.43%)
    • Green: 42 (16.47%)
    • Blue: 42 (16.47%)

Conversions

Hex:
#2f2a2a
CMYK:
C: 0%, M: 10.64%, Y: 10.64%, K: 81.57%
RGB:
R: 47, G: 42, B: 42
HSL:
H: , S: 5.6%, L: 17.5%

Color harmonies

#2f2a2a color HTML and CSS codes

Example CSS code:

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

#2f2a2a text/font color

How to set font color?

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

Font color is #2f2a2a.

Compromise in colors is grey.
- Edi Rama

#2f2a2a background color

How to set background color?

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

Background color is #2f2a2a.

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