⤺ color picker
0
Reddit

#510652 Color Hex

Hex color #510652, RGB(81, 6, 82) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #510652 is a shade of magenta. In a RGB color space it is composed of 31.76% red, 2.35% green and 32.16% blue. In HSL notation it has 299.2° hue, 86.4% saturation and 17.3% lightness. The process color (CMYK) is combination of 1.22% cyan, 92.68% magenta, 0% yellow and 67.84% key (black). The closest short hexadecimal code of #510652 is #505.

Color information

  • #510652 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 1.22%
    • Magenta: 92.68%
    • Yellow: 0%
    • Key color - black: 67.84%
  • In the HSL model coordinates are:
    • Hue: 299.2° degrees
    • Saturation: 86.4%
    • Lightness: 17.3%
  • The values in the RGB color space are:
    • Red: 81 (31.76%)
    • Green: 6 (2.35%)
    • Blue: 82 (32.16%)

Conversions

Hex:
#510652
CMYK:
C: 1.22%, M: 92.68%, Y: 0%, K: 67.84%
RGB:
R: 81, G: 6, B: 82
HSL:
H: 299.2°, S: 86.4%, L: 17.3%

Color harmonies

#510652 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #510652; }
.setBackgroundColor { background-color: #510652; }

#510652 text/font color

How to set font color?

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

Font color is #510652.

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

#510652 background color

How to set background color?

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

Background color is #510652.

Compromise in colors is grey.
- Edi Rama