⤺ color picker
0
Reddit

#40122e Color Hex

Hex color #40122e, RGB(64, 18, 46) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #40122e is a shade of red-magenta. In a RGB color space it is composed of 25.1% red, 7.06% green and 18.04% blue. In HSL notation it has 323.5° hue, 56.1% saturation and 16.1% lightness. The process color (CMYK) is combination of 0% cyan, 71.88% magenta, 28.12% yellow and 74.90% key (black). The closest short hexadecimal code of #40122e is #412.

Color information

  • #40122e is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 71.88%
    • Yellow: 28.12%
    • Key color - black: 74.90%
  • In the HSL model coordinates are:
    • Hue: 323.5° degrees
    • Saturation: 56.1%
    • Lightness: 16.1%
  • The values in the RGB color space are:
    • Red: 64 (25.1%)
    • Green: 18 (7.06%)
    • Blue: 46 (18.04%)

Conversions

Hex:
#40122e
CMYK:
C: 0%, M: 71.88%, Y: 28.12%, K: 74.90%
RGB:
R: 64, G: 18, B: 46
HSL:
H: 323.5°, S: 56.1%, L: 16.1%

Color harmonies

#40122e color HTML and CSS codes

Example CSS code:

.setFontColor { color: #40122e; }
.setBackgroundColor { background-color: #40122e; }

#40122e text/font color

How to set font color?

<p style="color:#40122e">Font color is #40122e.</p>

Font color is #40122e.

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

#40122e background color

How to set background color?

<div style="background-color:#40122e">Background color is #40122e.</div>

Background color is #40122e.

Compromise in colors is grey.
- Edi Rama