⤺ color picker
0
Reddit

#40213c Color Hex

Hex color #40213c, RGB(64, 33, 60) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #40213c is a shade of magenta. In a RGB color space it is composed of 25.1% red, 12.94% green and 23.53% blue. In HSL notation it has 307.7° hue, 32% saturation and 19% lightness. The process color (CMYK) is combination of 0% cyan, 48.44% magenta, 6.25% yellow and 74.90% key (black). The closest short hexadecimal code of #40213c is #423.

Color information

  • #40213c is a shade of magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 48.44%
    • Yellow: 6.25%
    • Key color - black: 74.90%
  • In the HSL model coordinates are:
    • Hue: 307.7° degrees
    • Saturation: 32%
    • Lightness: 19%
  • The values in the RGB color space are:
    • Red: 64 (25.1%)
    • Green: 33 (12.94%)
    • Blue: 60 (23.53%)

Conversions

Hex:
#40213c
CMYK:
C: 0%, M: 48.44%, Y: 6.25%, K: 74.90%
RGB:
R: 64, G: 33, B: 60
HSL:
H: 307.7°, S: 32%, L: 19%

Color harmonies

#40213c color HTML and CSS codes

Example CSS code:

.setFontColor { color: #40213c; }
.setBackgroundColor { background-color: #40213c; }

#40213c text/font color

How to set font color?

<p style="color:#40213c">Font color is #40213c.</p>

Font color is #40213c.

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

#40213c background color

How to set background color?

<div style="background-color:#40213c">Background color is #40213c.</div>

Background color is #40213c.

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