⤺ color picker
0
Reddit

#540776 Color Hex

Hex color #540776, RGB(84, 7, 118) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #540776 is a shade of blue-magenta. In a RGB color space it is composed of 32.94% red, 2.75% green and 46.27% blue. In HSL notation it has 281.6° hue, 88.8% saturation and 24.5% lightness. The process color (CMYK) is combination of 28.81% cyan, 94.07% magenta, 0% yellow and 53.73% key (black). The closest short hexadecimal code of #540776 is #507.

Color information

  • #540776 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 28.81%
    • Magenta: 94.07%
    • Yellow: 0%
    • Key color - black: 53.73%
  • In the HSL model coordinates are:
    • Hue: 281.6° degrees
    • Saturation: 88.8%
    • Lightness: 24.5%
  • The values in the RGB color space are:
    • Red: 84 (32.94%)
    • Green: 7 (2.75%)
    • Blue: 118 (46.27%)

Conversions

Hex:
#540776
CMYK:
C: 28.81%, M: 94.07%, Y: 0%, K: 53.73%
RGB:
R: 84, G: 7, B: 118
HSL:
H: 281.6°, S: 88.8%, L: 24.5%

Color harmonies

#540776 color HTML and CSS codes

Example CSS code:

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

#540776 text/font color

How to set font color?

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

Font color is #540776.

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

#540776 background color

How to set background color?

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

Background color is #540776.

Compromise in colors is grey.
- Edi Rama