⤺ color picker
0
Reddit

#251228 Color Hex

Hex color #251228, RGB(37, 18, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #251228 is a shade of magenta. In a RGB color space it is composed of 14.51% red, 7.06% green and 15.69% blue. In HSL notation it has 291.8° hue, 37.9% saturation and 11.4% lightness. The process color (CMYK) is combination of 7.50% cyan, 55% magenta, 0% yellow and 84.31% key (black). The closest short hexadecimal code of #251228 is #212.

Color information

  • #251228 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 7.50%
    • Magenta: 55%
    • Yellow: 0%
    • Key color - black: 84.31%
  • In the HSL model coordinates are:
    • Hue: 291.8° degrees
    • Saturation: 37.9%
    • Lightness: 11.4%
  • The values in the RGB color space are:
    • Red: 37 (14.51%)
    • Green: 18 (7.06%)
    • Blue: 40 (15.69%)

Conversions

Hex:
#251228
CMYK:
C: 7.50%, M: 55%, Y: 0%, K: 84.31%
RGB:
R: 37, G: 18, B: 40
HSL:
H: 291.8°, S: 37.9%, L: 11.4%

Color harmonies

#251228 color HTML and CSS codes

Example CSS code:

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

#251228 text/font color

How to set font color?

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

Font color is #251228.

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

#251228 background color

How to set background color?

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

Background color is #251228.

Compromise in colors is grey.
- Edi Rama