⤺ color picker
0
Reddit

#2f2f2a Color Hex

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


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

Color information

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

Conversions

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

Color harmonies

#2f2f2a color HTML and CSS codes

Example CSS code:

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

#2f2f2a text/font color

How to set font color?

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

Font color is #2f2f2a.

Compromise in colors is grey.
- Edi Rama

#2f2f2a background color

How to set background color?

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

Background color is #2f2f2a.

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