⤺ color picker
0
Reddit

#f04cf2 Color Hex

Hex color #f04cf2, RGB(240, 76, 242) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #f04cf2 is a shade of magenta. In a RGB color space it is composed of 94.12% red, 29.8% green and 94.9% blue. In HSL notation it has 299.3° hue, 86.5% saturation and 62.4% lightness. The process color (CMYK) is combination of 0.83% cyan, 68.60% magenta, 0% yellow and 5.10% key (black). The closest short hexadecimal code of #f04cf2 is #f4f.

Color information

  • #f04cf2 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0.83%
    • Magenta: 68.60%
    • Yellow: 0%
    • Key color - black: 5.10%
  • In the HSL model coordinates are:
    • Hue: 299.3° degrees
    • Saturation: 86.5%
    • Lightness: 62.4%
  • The values in the RGB color space are:
    • Red: 240 (94.12%)
    • Green: 76 (29.8%)
    • Blue: 242 (94.9%)

Conversions

Hex:
#f04cf2
CMYK:
C: 0.83%, M: 68.60%, Y: 0%, K: 5.10%
RGB:
R: 240, G: 76, B: 242
HSL:
H: 299.3°, S: 86.5%, L: 62.4%

Color harmonies

#f04cf2 color HTML and CSS codes

Example CSS code:

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

#f04cf2 text/font color

How to set font color?

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

Font color is #f04cf2.

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

#f04cf2 background color

How to set background color?

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

Background color is #f04cf2.

Compromise in colors is grey.
- Edi Rama