⤺ color picker
0
Reddit

#40167d Color Hex

Hex color #40167d, RGB(64, 22, 125) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #40167d is a shade of blue-magenta. In a RGB color space it is composed of 25.1% red, 8.63% green and 49.02% blue. In HSL notation it has 264.5° hue, 70.1% saturation and 28.8% lightness. The process color (CMYK) is combination of 48.8% cyan, 82.4% magenta, 0% yellow and 50.98% key (black). The closest short hexadecimal code of #40167d is #417.

Color information

  • #40167d is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 48.8%
    • Magenta: 82.4%
    • Yellow: 0%
    • Key color - black: 50.98%
  • In the HSL model coordinates are:
    • Hue: 264.5° degrees
    • Saturation: 70.1%
    • Lightness: 28.8%
  • The values in the RGB color space are:
    • Red: 64 (25.1%)
    • Green: 22 (8.63%)
    • Blue: 125 (49.02%)

Conversions

Hex:
#40167d
CMYK:
C: 48.8%, M: 82.4%, Y: 0%, K: 50.98%
RGB:
R: 64, G: 22, B: 125
HSL:
H: 264.5°, S: 70.1%, L: 28.8%

Color harmonies

#40167d color HTML and CSS codes

Example CSS code:

.setFontColor { color: #40167d; }
.setBackgroundColor { background-color: #40167d; }

#40167d text/font color

How to set font color?

<p style="color:#40167d">Font color is #40167d.</p>

Font color is #40167d.

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

#40167d background color

How to set background color?

<div style="background-color:#40167d">Background color is #40167d.</div>

Background color is #40167d.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage