COLOR #221B28

HEX: #221B28
RGB: (34,27,40)

Color info

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

RGB color model

#221B28 color RGB value is (34,27,40).

  • red value is 34;
  • green value is 27;
  • blue value is 40.
RGB:
(34,27,40)
(13%,11%,16%)

RGB channels and saturation

R 34 of 255 = 13%
G 27 of 255 = 11%
B 40 of 255 = 16%

34
27
40

R + G + B ~ 13%. #221B28 is dark color.

Portions of RGB colors in percentages

R + G + B =
34 + 27 + 40 = 101 (100%)
R 34 of 101 ~ 33.66%
G 27 of 101 ~ 26.73%
B 40 of 101 ~ 39.6%

%33.66
%26.73
%39.6

CMYK color model

#221B28 color CMYK value is (15,33,0,84).

  • cyan value is 15.00%
  • magenta value is 32.50%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(15,33,0,84)
C15M33Y0K84 
(15%,33%,0%,84%)
(0.15/0.33/0.00/0.84)	

CMYK percentages

%15
%32.5
%0
%84.31

Codes

Color #221B28 in popluar color models

221B28
RGB342740
HSL272°19.40%13.14%
HSB/HSV272°32.50%15.69%
CMYK15.00%32.50%0.00%
84.31%

Color #221B28 in popluar number systems.

HEX221B28
Decimal342740
Binary10001011011101000
Octal423350

Shades and tints

Shades of #221B28

#221B28
(34,27,40)
#1F1925
(31,25,37)
#1C1722
(28,23,34)
#19151F
(25,21,31)
#16131C
(22,19,28)
#131119
(19,17,25)
#100F16
(16,15,22)
#0D0D13
(13,13,19)
#0A0B10
(10,11,16)
#07090D
(7,9,13)
#04070A
(4,7,10)
#000000
(0,0,0)

Tints of #221B28

#221B28
(34,27,40)
#362F3B
(54,47,59)
#4A434E
(74,67,78)
#5E5761
(94,87,97)
#726B74
(114,107,116)
#867F87
(134,127,135)
#9A939A
(154,147,154)
#AEA7AD
(174,167,173)
#C2BBC0
(194,187,192)
#D6CFD3
(214,207,211)
#EAE3E6
(234,227,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #221B28; }

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

This text font color is #221B28.


Background Color

.myBgColor { background-color: #221B28; }

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

This div background color is #221B28.


Border color

.myBorderColor { border: 1px solid #221B28; }

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

This div border color is #221B28.


Opacity

.myOpacity80 { color: #221B28; opacity: 0.8; }

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

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

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

This text has shadow with #221B28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #221B28 on black background.


Color preview on white background

This text has color #221B28 on white background.



Black color preview on #221B28 background

This text has black color on #221B28 background.


White color preview on #221B28 background

This text has white color on #221B28 background.