COLOR #221831

HEX: #221831
RGB: (34,24,49)

Color info

#221831 contains red, green and blue colors in about the same proportion. Web safe color of #221831 is #330033 (or #303).

RGB color model

#221831 color RGB value is (34,24,49).

  • red value is 34;
  • green value is 24;
  • blue value is 49.
RGB:
(34,24,49)
(13%,9%,19%)

RGB channels and saturation

R 34 of 255 = 13%
G 24 of 255 = 9%
B 49 of 255 = 19%

34
24
49

R + G + B ~ 14%. #221831 is dark color.

Portions of RGB colors in percentages

R + G + B =
34 + 24 + 49 = 107 (100%)
R 34 of 107 ~ 31.78%
G 24 of 107 ~ 22.43%
B 49 of 107 ~ 45.79%

%31.78
%22.43
%45.79

CMYK color model

#221831 color CMYK value is (31,51,0,81).

  • cyan value is 30.61%
  • magenta value is 51.02%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(31,51,0,81)
C31M51Y0K81 
(31%,51%,0%,81%)
(0.31/0.51/0.00/0.81)	

CMYK percentages

%30.61
%51.02
%0
%80.78

Codes

Color #221831 in popluar color models

221831
RGB342449
HSL264°34.25%14.31%
HSB/HSV264°51.02%19.22%
CMYK30.61%51.02%0.00%
80.78%

Color #221831 in popluar number systems.

HEX221831
Decimal342449
Binary10001011000110001
Octal423061

Shades and tints

Shades of #221831

#221831
(34,24,49)
#1F162D
(31,22,45)
#1C1429
(28,20,41)
#191225
(25,18,37)
#161021
(22,16,33)
#130E1D
(19,14,29)
#100C19
(16,12,25)
#0D0A15
(13,10,21)
#0A0811
(10,8,17)
#07060D
(7,6,13)
#040409
(4,4,9)
#000000
(0,0,0)

Tints of #221831

#221831
(34,24,49)
#362D43
(54,45,67)
#4A4255
(74,66,85)
#5E5767
(94,87,103)
#726C79
(114,108,121)
#86818B
(134,129,139)
#9A969D
(154,150,157)
#AEABAF
(174,171,175)
#C2C0C1
(194,192,193)
#D6D5D3
(214,213,211)
#EAEAE5
(234,234,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #221831; }

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

This text font color is #221831.


Background Color

.myBgColor { background-color: #221831; }

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

This div background color is #221831.


Border color

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

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

This div border color is #221831.


Opacity

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

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

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

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

This text has shadow with #221831 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #221831 on black background.


Color preview on white background

This text has color #221831 on white background.



Black color preview on #221831 background

This text has black color on #221831 background.


White color preview on #221831 background

This text has white color on #221831 background.