⤺ color picker
0
Reddit

#2f2fff Color Hex

Hex color #2f2fff, RGB(47, 47, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #2f2fff is a shade of blue. In a RGB color space it is composed of 18.43% red, 18.43% green and 100% blue. In HSL notation it has 240° hue, 100% saturation and 59.2% lightness. The process color (CMYK) is combination of 81.57% cyan, 81.57% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #2f2fff is #22f.

Color information

  • #2f2fff is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 81.57%
    • Magenta: 81.57%
    • Yellow: 0%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 240° degrees
    • Saturation: 100%
    • Lightness: 59.2%
  • The values in the RGB color space are:
    • Red: 47 (18.43%)
    • Green: 47 (18.43%)
    • Blue: 255 (100%)

Conversions

Hex:
#2f2fff
CMYK:
C: 81.57%, M: 81.57%, Y: 0%, K: 0%
RGB:
R: 47, G: 47, B: 255
HSL:
H: 240°, S: 100%, L: 59.2%

Color harmonies

#2f2fff color HTML and CSS codes

Example CSS code:

.setFontColor { color: #2f2fff; }
.setBackgroundColor { background-color: #2f2fff; }

#2f2fff text/font color

How to set font color?

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

Font color is #2f2fff.

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

#2f2fff background color

How to set background color?

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

Background color is #2f2fff.

Compromise in colors is grey.
- Edi Rama