⤺ color picker
0
Reddit

#fec942 Color Hex

Hex color #fec942, RGB(254, 201, 66) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #fec942 is a shade of red-yellow. In a RGB color space it is composed of 99.61% red, 78.82% green and 25.88% blue. In HSL notation it has 43.1° hue, 98.9% saturation and 62.7% lightness. The process color (CMYK) is combination of 0% cyan, 20.87% magenta, 74.02% yellow and 0.39% key (black). The closest short hexadecimal code of #fec942 is #fc4.

Color information

  • #fec942 is a shade of red-yellow.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 20.87%
    • Yellow: 74.02%
    • Key color - black: 0.39%
  • In the HSL model coordinates are:
    • Hue: 43.1° degrees
    • Saturation: 98.9%
    • Lightness: 62.7%
  • The values in the RGB color space are:
    • Red: 254 (99.61%)
    • Green: 201 (78.82%)
    • Blue: 66 (25.88%)

Conversions

Hex:
#fec942
CMYK:
C: 0%, M: 20.87%, Y: 74.02%, K: 0.39%
RGB:
R: 254, G: 201, B: 66
HSL:
H: 43.1°, S: 98.9%, L: 62.7%

Color harmonies

#fec942 color HTML and CSS codes

Example CSS code:

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

#fec942 text/font color

How to set font color?

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

Font color is #fec942.

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

#fec942 background color

How to set background color?

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

Background color is #fec942.

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