⤺ color picker
0
Reddit

#2f6a12 Color Hex

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


The hex color code #2f6a12 is a shade of green-yellow. In a RGB color space it is composed of 18.43% red, 41.57% green and 7.06% blue. In HSL notation it has 100.2° hue, 71% saturation and 24.3% lightness. The process color (CMYK) is combination of 55.66% cyan, 0% magenta, 83.02% yellow and 58.43% key (black). The closest short hexadecimal code of #2f6a12 is #261.

Color information

  • #2f6a12 is a shade of green-yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 55.66%
    • Magenta: 0%
    • Yellow: 83.02%
    • Key color - black: 58.43%
  • In the HSL model coordinates are:
    • Hue: 100.2° degrees
    • Saturation: 71%
    • Lightness: 24.3%
  • The values in the RGB color space are:
    • Red: 47 (18.43%)
    • Green: 106 (41.57%)
    • Blue: 18 (7.06%)

Conversions

Hex:
#2f6a12
CMYK:
C: 55.66%, M: 0%, Y: 83.02%, K: 58.43%
RGB:
R: 47, G: 106, B: 18
HSL:
H: 100.2°, S: 71%, L: 24.3%

Color harmonies

#2f6a12 color HTML and CSS codes

Example CSS code:

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

#2f6a12 text/font color

How to set font color?

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

Font color is #2f6a12.

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

#2f6a12 background color

How to set background color?

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

Background color is #2f6a12.

Compromise in colors is grey.
- Edi Rama