COLOR #222827

HEX: #222827 RGB: (34,40,39)

Color info

#222827 contains red, green and blue colors in about the same proportion. Web safe color of #222827 is #333333 (or #333).

RGB color model

#222827 color RGB value is (34,40,39).

RGB: (34,40,39) (13%, 16%, 15%)

RGB channels and saturation

R 34 of 255 = 13%
G 40 of 255 = 16%
B 39 of 255 = 15%

34
40
39

R + G + B ~ 15%. #222827 is dark color.

Portions of RGB colors in percentages

R + G + B = 34 + 40 + 39 = 113 (100%)
R 34 of 113 ~ 30.09%
G 40 of 113 ~ 35.4%
B 39 of 113 ~ 34.51'%

%30.09
%35.4
%34.51

CMYK color model

#222827 color CMYK value is (15,0,2,84).

  • cyan value is 15.00%
  • magenta value is 0.00%
  • yellow value is 2.50%
  • key color value is 84.31%

CMYK: (15,0,2,84)
C15M0Y2K84 (15%, 0%, 2%, 84%)
(0.15 / 0.00 / 0.02 / 0.84)

CMYK percentages

%15
%0
%2.5
%84.31

Codes

Color #222827 in popluar color models

22 28 27
RGB 34 40 39
HSL 170° 8.11% 14.51%
HSB/HSV 170° 15.00% 15.69%
CMYK 15.00% 0.00% 2.50%
84.31%

Color #222827 in popluar number systems.

HEX 22 28 27
Decimal 34 40 39
Binary 100010 101000 100111
Octal 42 50 47

Shades and tints

Shades of #222827

#222827
(34,40,39)
#1F2524
(31,37,36)
#1C2221
(28,34,33)
#191F1E
(25,31,30)
#161C1B
(22,28,27)
#131918
(19,25,24)
#101615
(16,22,21)
#0D1312
(13,19,18)
#0A100F
(10,16,15)
#070D0C
(7,13,12)
#040A09
(4,10,9)
#000000
(0,0,0)

Tints of #222827

#222827
(34,40,39)
#363B3A
(54,59,58)
#4A4E4D
(74,78,77)
#5E6160
(94,97,96)
#727473
(114,116,115)
#868786
(134,135,134)
#9A9A99
(154,154,153)
#AEADAC
(174,173,172)
#C2C0BF
(194,192,191)
#D6D3D2
(214,211,210)
#EAE6E5
(234,230,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #222827 color. Also use rgb(34,40,39) instead hex code.

Text Font Color

.myTextColor { color: #222827; }

<p style="color:#222827">This sample text font color is #222827.</p>

This text font color is #222827.

Background Color

.myBgColor { background-color: #222827; }

<div style="background-color:#222827">Inner text</div>

This div background color is #222827.

Border color

.myBorderColor { border: 1px solid #222827; }

<div style="border:3px solid #222827">Div</div>

This div border color is #222827.

Opacity

.myOpacity80 { color: #222827; opacity: 0.8; }

<p style="color:#222827;opacity:0.8;">80%</p>

Text with #222827 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #222827;}

<p style="text-shadow: 3px 3px 1px #222827">Text here.</p>

This text has shadow with #222827 color.


.textShadow {text-shadow: 3px 3px 1px #222827', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #222827, 5px 5px 20px red">Text here.</p>

This text has shadow with #222827 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#222827, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#222827, Direction=45, Strength=4)">Text</p>

This text has shadow with #222827 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #222827;
-webkit-box-shadow: 1px 1px 3px 2px #222827;
box-shadow: 1px 1px 3px 2px #222827;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #222827; -webkit-box-shadow: 1px 1px 3px 2px #222827; box-shadow:1px 1px 3px 2px #222827;">
Div content here
</div>

This div box has shadow with color #222827.

Preview

Color preview on black background

This text has color #222827 on black background.


Color preview on white background

This text has color #222827 on white background.


Black color preview on #222827 background

This text has black color on #222827 background.


White color preview on #222827 background

This text has white color on #222827 background.


Related colors

Complementary color

Complementary color for #hex is #DDD7D8.


I love getcolorcode.com

Triadic colors

1 #272228 and #282722 with #222827 are triadic colors.

2 #272822 and #282227 with #222827 are triadic colors.