⤺ color picker
0
Reddit

#5221b8 Color Hex

Hex color #5221b8, RGB(82, 33, 184) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #5221b8 is a shade of blue-magenta. In a RGB color space it is composed of 32.16% red, 12.94% green and 72.16% blue. In HSL notation it has 259.5° hue, 69.6% saturation and 42.5% lightness. The process color (CMYK) is combination of 55.43% cyan, 82.07% magenta, 0% yellow and 27.84% key (black). The closest short hexadecimal code of #5221b8 is #52b.

Color information

  • #5221b8 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 55.43%
    • Magenta: 82.07%
    • Yellow: 0%
    • Key color - black: 27.84%
  • In the HSL model coordinates are:
    • Hue: 259.5° degrees
    • Saturation: 69.6%
    • Lightness: 42.5%
  • The values in the RGB color space are:
    • Red: 82 (32.16%)
    • Green: 33 (12.94%)
    • Blue: 184 (72.16%)

Conversions

Hex:
#5221b8
CMYK:
C: 55.43%, M: 82.07%, Y: 0%, K: 27.84%
RGB:
R: 82, G: 33, B: 184
HSL:
H: 259.5°, S: 69.6%, L: 42.5%

Color harmonies

#5221b8 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #5221b8; }
.setBackgroundColor { background-color: #5221b8; }

#5221b8 text/font color

How to set font color?

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

Font color is #5221b8.

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

#5221b8 background color

How to set background color?

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

Background color is #5221b8.

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