⤺ color picker
0
Reddit

#301642 Color Hex

Hex color #301642, RGB(48, 22, 66) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #301642 is a shade of blue-magenta. In a RGB color space it is composed of 18.82% red, 8.63% green and 25.88% blue. In HSL notation it has 275.5° hue, 50% saturation and 17.3% lightness. The process color (CMYK) is combination of 27.27% cyan, 66.67% magenta, 0% yellow and 74.12% key (black). The closest short hexadecimal code of #301642 is #314.

Color information

  • #301642 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 27.27%
    • Magenta: 66.67%
    • Yellow: 0%
    • Key color - black: 74.12%
  • In the HSL model coordinates are:
    • Hue: 275.5° degrees
    • Saturation: 50%
    • Lightness: 17.3%
  • The values in the RGB color space are:
    • Red: 48 (18.82%)
    • Green: 22 (8.63%)
    • Blue: 66 (25.88%)

Conversions

Hex:
#301642
CMYK:
C: 27.27%, M: 66.67%, Y: 0%, K: 74.12%
RGB:
R: 48, G: 22, B: 66
HSL:
H: 275.5°, S: 50%, L: 17.3%

Color harmonies

#301642 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #301642; }
.setBackgroundColor { background-color: #301642; }

#301642 text/font color

How to set font color?

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

Font color is #301642.

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

#301642 background color

How to set background color?

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

Background color is #301642.

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