⤺ color picker
0
Reddit

#5a2066 Color Hex

Hex color #5a2066, RGB(90, 32, 102) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #5a2066 is a shade of magenta. In a RGB color space it is composed of 35.29% red, 12.55% green and 40% blue. In HSL notation it has 289.7° hue, 52.2% saturation and 26.3% lightness. The process color (CMYK) is combination of 11.76% cyan, 68.63% magenta, 0% yellow and 60% key (black). The closest short hexadecimal code of #5a2066 is #526.

Color information

  • #5a2066 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 11.76%
    • Magenta: 68.63%
    • Yellow: 0%
    • Key color - black: 60%
  • In the HSL model coordinates are:
    • Hue: 289.7° degrees
    • Saturation: 52.2%
    • Lightness: 26.3%
  • The values in the RGB color space are:
    • Red: 90 (35.29%)
    • Green: 32 (12.55%)
    • Blue: 102 (40%)

Conversions

Hex:
#5a2066
CMYK:
C: 11.76%, M: 68.63%, Y: 0%, K: 60%
RGB:
R: 90, G: 32, B: 102
HSL:
H: 289.7°, S: 52.2%, L: 26.3%

Color harmonies

#5a2066 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #5a2066; }
.setBackgroundColor { background-color: #5a2066; }

#5a2066 text/font color

How to set font color?

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

Font color is #5a2066.

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

#5a2066 background color

How to set background color?

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

Background color is #5a2066.

Compromise in colors is grey.
- Edi Rama