⤺ color picker

#2a0b15 Color Hex

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

The hex color code #2a0b15 is a shade of red-magenta. In a RGB color space it is composed of 16.47% red, 4.31% green and 8.24% blue. In HSL notation it has 340.6° hue, 58.5% saturation and 10.4% lightness. The process color (CMYK) is combination of 0% cyan, 73.81% magenta, 50% yellow and 83.53% key (black). The closest short hexadecimal code of #2a0b15 is #201.

Color information

  • #2a0b15 is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 73.81%
    • Yellow: 50%
    • Key color - black: 83.53%
  • In the HSL model coordinates are:
    • Hue: 340.6° degrees
    • Saturation: 58.5%
    • Lightness: 10.4%
  • The values in the RGB color space are:
    • Red: 42 (16.47%)
    • Green: 11 (4.31%)
    • Blue: 21 (8.24%)


C: 0%, M: 73.81%, Y: 50%, K: 83.53%
R: 42, G: 11, B: 21
H: 340.6°, S: 58.5%, L: 10.4%

Color harmonies

#2a0b15 color HTML and CSS codes

Example CSS code:

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

#2a0b15 text/font color

How to set font color?

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

Font color is #2a0b15.

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

#2a0b15 background color

How to set background color?

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

Background color is #2a0b15.

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