⤺ color picker
0
Reddit

#1a2a1a Color Hex

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


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

Color information

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

Conversions

Hex:
#1a2a1a
CMYK:
C: 38.10%, M: 0%, Y: 38.10%, K: 83.53%
RGB:
R: 26, G: 42, B: 26
HSL:
H: 120°, S: 23.5%, L: 13.3%

Color harmonies

#1a2a1a color HTML and CSS codes

Example CSS code:

.setFontColor { color: #1a2a1a; }
.setBackgroundColor { background-color: #1a2a1a; }

#1a2a1a text/font color

How to set font color?

<p style="color:#1a2a1a">Font color is #1a2a1a.</p>

Font color is #1a2a1a.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant

#1a2a1a background color

How to set background color?

<div style="background-color:#1a2a1a">Background color is #1a2a1a.</div>

Background color is #1a2a1a.

Compromise in colors is grey.
- Edi Rama