⤺ color picker
0
Reddit

#5117ff Color Hex

Hex color #5117ff, RGB(81, 23, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #5117ff is a shade of blue-magenta. In a RGB color space it is composed of 31.76% red, 9.02% green and 100% blue. In HSL notation it has 255° hue, 100% saturation and 54.5% lightness. The process color (CMYK) is combination of 68.24% cyan, 90.98% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #5117ff is #51f.

Color information

  • #5117ff is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 68.24%
    • Magenta: 90.98%
    • Yellow: 0%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 255° degrees
    • Saturation: 100%
    • Lightness: 54.5%
  • The values in the RGB color space are:
    • Red: 81 (31.76%)
    • Green: 23 (9.02%)
    • Blue: 255 (100%)

Conversions

Hex:
#5117ff
CMYK:
C: 68.24%, M: 90.98%, Y: 0%, K: 0%
RGB:
R: 81, G: 23, B: 255
HSL:
H: 255°, S: 100%, L: 54.5%

Color harmonies

#5117ff color HTML and CSS codes

Example CSS code:

.setFontColor { color: #5117ff; }
.setBackgroundColor { background-color: #5117ff; }

#5117ff text/font color

How to set font color?

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

Font color is #5117ff.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant

#5117ff background color

How to set background color?

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

Background color is #5117ff.

Compromise in colors is grey.
- Edi Rama