⤺ color picker
0
Reddit

#af40c2 Color Hex

Hex color #af40c2, RGB(175, 64, 194) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #af40c2 is a shade of magenta. In a RGB color space it is composed of 68.63% red, 25.1% green and 76.08% blue. In HSL notation it has 291.2° hue, 51.6% saturation and 50.6% lightness. The process color (CMYK) is combination of 9.79% cyan, 67.01% magenta, 0% yellow and 23.92% key (black). The closest short hexadecimal code of #af40c2 is #a4c.

Color information

  • #af40c2 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 9.79%
    • Magenta: 67.01%
    • Yellow: 0%
    • Key color - black: 23.92%
  • In the HSL model coordinates are:
    • Hue: 291.2° degrees
    • Saturation: 51.6%
    • Lightness: 50.6%
  • The values in the RGB color space are:
    • Red: 175 (68.63%)
    • Green: 64 (25.1%)
    • Blue: 194 (76.08%)

Conversions

Hex:
#af40c2
CMYK:
C: 9.79%, M: 67.01%, Y: 0%, K: 23.92%
RGB:
R: 175, G: 64, B: 194
HSL:
H: 291.2°, S: 51.6%, L: 50.6%

Color harmonies

#af40c2 color HTML and CSS codes

Example CSS code:

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

#af40c2 text/font color

How to set font color?

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

Font color is #af40c2.

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

#af40c2 background color

How to set background color?

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

Background color is #af40c2.

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