⤺ color picker

#42a8e8 Color Hex

Hex color #42a8e8, RGB(66, 168, 232) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #42a8e8 is a shade of blue-cyan. In a RGB color space it is composed of 25.88% red, 65.88% green and 90.98% blue. In HSL notation it has 203.1° hue, 78.3% saturation and 58.4% lightness. The process color (CMYK) is combination of 71.55% cyan, 27.59% magenta, 0% yellow and 9.02% key (black). The closest short hexadecimal code of #42a8e8 is #4ae.

Color information

  • #42a8e8 is a shade of blue-cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 71.55%
    • Magenta: 27.59%
    • Yellow: 0%
    • Key color - black: 9.02%
  • In the HSL model coordinates are:
    • Hue: 203.1° degrees
    • Saturation: 78.3%
    • Lightness: 58.4%
  • The values in the RGB color space are:
    • Red: 66 (25.88%)
    • Green: 168 (65.88%)
    • Blue: 232 (90.98%)


C: 71.55%, M: 27.59%, Y: 0%, K: 9.02%
R: 66, G: 168, B: 232
H: 203.1°, S: 78.3%, L: 58.4%

Color harmonies

#42a8e8 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #42a8e8; }
.setBackgroundColor { background-color: #42a8e8; }

#42a8e8 text/font color

How to set font color?

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

Font color is #42a8e8.

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

#42a8e8 background color

How to set background color?

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

Background color is #42a8e8.

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