COLOR #222831

HEX: #222831 RGB: (34,40,49)

Color info

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

RGB color model

#222831 color RGB value is (34,40,49).

RGB: (34,40,49) (13%, 16%, 19%)

RGB channels and saturation

R 34 of 255 = 13%
G 40 of 255 = 16%
B 49 of 255 = 19%

34
40
49

R + G + B ~ 16%. #222831 is dark color.

Portions of RGB colors in percentages

R + G + B = 34 + 40 + 49 = 123 (100%)
R 34 of 123 ~ 27.64%
G 40 of 123 ~ 32.52%
B 49 of 123 ~ 39.84'%

%27.64
%32.52
%39.84

CMYK color model

#222831 color CMYK value is (31,18,0,81).

  • cyan value is 30.61%
  • magenta value is 18.37%
  • yellow value is 0.00%
  • key color value is 80.78%

CMYK: (31,18,0,81)
C31M18Y0K81 (31%, 18%, 0%, 81%)
(0.31 / 0.18 / 0.00 / 0.81)

CMYK percentages

%30.61
%18.37
%0
%80.78

Codes

Color #222831 in popluar color models

22 28 31
RGB 34 40 49
HSL 216° 18.07% 16.27%
HSB/HSV 216° 30.61% 19.22%
CMYK 30.61% 18.37% 0.00%
80.78%

Color #222831 in popluar number systems.

HEX 22 28 31
Decimal 34 40 49
Binary 100010 101000 110001
Octal 42 50 61

Shades and tints

Shades of #222831

#222831
(34,40,49)
#1F252D
(31,37,45)
#1C2229
(28,34,41)
#191F25
(25,31,37)
#161C21
(22,28,33)
#13191D
(19,25,29)
#101619
(16,22,25)
#0D1315
(13,19,21)
#0A1011
(10,16,17)
#070D0D
(7,13,13)
#040A09
(4,10,9)
#000000
(0,0,0)

Tints of #222831

#222831
(34,40,49)
#363B43
(54,59,67)
#4A4E55
(74,78,85)
#5E6167
(94,97,103)
#727479
(114,116,121)
#86878B
(134,135,139)
#9A9A9D
(154,154,157)
#AEADAF
(174,173,175)
#C2C0C1
(194,192,193)
#D6D3D3
(214,211,211)
#EAE6E5
(234,230,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #222831; }

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

This text font color is #222831.

Background Color

.myBgColor { background-color: #222831; }

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

This div background color is #222831.

Border color

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

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

This div border color is #222831.

Opacity

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

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

Text with #222831 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 #222831;}

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

This text has shadow with #222831 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #222831.

Preview

Color preview on black background

This text has color #222831 on black background.


Color preview on white background

This text has color #222831 on white background.


Black color preview on #222831 background

This text has black color on #222831 background.


White color preview on #222831 background

This text has white color on #222831 background.


Related colors

Complementary color

Complementary color for #hex is #DDD7CE.


I love getcolorcode.com

Triadic colors

1 #312228 and #283122 with #222831 are triadic colors.

2 #312822 and #282231 with #222831 are triadic colors.