⤺ color picker
0
Reddit

#5a277c Color Hex

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


The hex color code #5a277c is a shade of blue-magenta. In a RGB color space it is composed of 35.29% red, 15.29% green and 48.63% blue. In HSL notation it has 276° hue, 52.1% saturation and 32% lightness. The process color (CMYK) is combination of 27.42% cyan, 68.55% magenta, 0% yellow and 51.37% key (black). The closest short hexadecimal code of #5a277c is #527.

Color information

  • #5a277c is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 27.42%
    • Magenta: 68.55%
    • Yellow: 0%
    • Key color - black: 51.37%
  • In the HSL model coordinates are:
    • Hue: 276° degrees
    • Saturation: 52.1%
    • Lightness: 32%
  • The values in the RGB color space are:
    • Red: 90 (35.29%)
    • Green: 39 (15.29%)
    • Blue: 124 (48.63%)

Conversions

Hex:
#5a277c
CMYK:
C: 27.42%, M: 68.55%, Y: 0%, K: 51.37%
RGB:
R: 90, G: 39, B: 124
HSL:
H: 276°, S: 52.1%, L: 32%

Color harmonies

#5a277c color HTML and CSS codes

Example CSS code:

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

#5a277c text/font color

How to set font color?

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

Font color is #5a277c.

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

#5a277c background color

How to set background color?

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

Background color is #5a277c.

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