⤺ color picker
0
Reddit

#2d282e Color Hex

Hex color #2d282e, RGB(45, 40, 46) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #2d282e is a shade of magenta. In a RGB color space it is composed of 17.65% red, 15.69% green and 18.04% blue. In HSL notation it has 290° hue, 7% saturation and 16.9% lightness. The process color (CMYK) is combination of 2.17% cyan, 13.04% magenta, 0% yellow and 81.96% key (black). The closest short hexadecimal code of #2d282e is #222.

Color information

  • #2d282e is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 2.17%
    • Magenta: 13.04%
    • Yellow: 0%
    • Key color - black: 81.96%
  • In the HSL model coordinates are:
    • Hue: 290° degrees
    • Saturation: 7%
    • Lightness: 16.9%
  • The values in the RGB color space are:
    • Red: 45 (17.65%)
    • Green: 40 (15.69%)
    • Blue: 46 (18.04%)

Conversions

Hex:
#2d282e
CMYK:
C: 2.17%, M: 13.04%, Y: 0%, K: 81.96%
RGB:
R: 45, G: 40, B: 46
HSL:
H: 290°, S: 7%, L: 16.9%

Color harmonies

#2d282e color HTML and CSS codes

Example CSS code:

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

#2d282e text/font color

How to set font color?

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

Font color is #2d282e.

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

#2d282e background color

How to set background color?

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

Background color is #2d282e.

Compromise in colors is grey.
- Edi Rama