⤺ color picker
0
Reddit

#5151ff Color Hex

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


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

Color information

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

Conversions

Hex:
#5151ff
CMYK:
C: 68.24%, M: 68.24%, Y: 0%, K: 0%
RGB:
R: 81, G: 81, B: 255
HSL:
H: 240°, S: 100%, L: 65.9%

Color harmonies

#5151ff color HTML and CSS codes

Example CSS code:

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

#5151ff text/font color

How to set font color?

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

Font color is #5151ff.

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

#5151ff background color

How to set background color?

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

Background color is #5151ff.

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