COLOR #21271C

HEX: #21271C
RGB: (33,39,28)

Color info

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

RGB color model

#21271C color RGB value is (33,39,28).

  • red value is 33;
  • green value is 39;
  • blue value is 28.
RGB:
(33,39,28)
(13%,15%,11%)

RGB channels and saturation

R 33 of 255 = 13%
G 39 of 255 = 15%
B 28 of 255 = 11%

33
39
28

R + G + B ~ 13%. #21271C is dark color.

Portions of RGB colors in percentages

R + G + B =
33 + 39 + 28 = 100 (100%)
R 33 of 100 ~ 33%
G 39 of 100 ~ 39%
B 28 of 100 ~ 28%

%33
%39
%28

CMYK color model

#21271C color CMYK value is (15,0,28,85).

  • cyan value is 15.38%
  • magenta value is 0.00%
  • yellow value is 28.21%
  • key color value is 84.71%
CMYK:
(15,0,28,85)
C15M0Y28K85 
(15%,0%,28%,85%)
(0.15/0.00/0.28/0.85)	

CMYK percentages

%15.38
%0
%28.21
%84.71

Codes

Color #21271C in popluar color models

21271C
RGB333928
HSL93°16.42%13.14%
HSB/HSV93°28.21%15.29%
CMYK15.38%0.00%28.21%
84.71%

Color #21271C in popluar number systems.

HEX21271C
Decimal333928
Binary10000110011111100
Octal414734

Shades and tints

Shades of #21271C

#21271C
(33,39,28)
#1E241A
(30,36,26)
#1B2118
(27,33,24)
#181E16
(24,30,22)
#151B14
(21,27,20)
#121812
(18,24,18)
#0F1510
(15,21,16)
#0C120E
(12,18,14)
#090F0C
(9,15,12)
#060C0A
(6,12,10)
#030908
(3,9,8)
#000000
(0,0,0)

Tints of #21271C

#21271C
(33,39,28)
#353A30
(53,58,48)
#494D44
(73,77,68)
#5D6058
(93,96,88)
#71736C
(113,115,108)
#858680
(133,134,128)
#999994
(153,153,148)
#ADACA8
(173,172,168)
#C1BFBC
(193,191,188)
#D5D2D0
(213,210,208)
#E9E5E4
(233,229,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #21271C color. Also use rgb(33,39,28) instead hex code.

Text Font Color

.myTextColor { color: #21271C; }

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

This text font color is #21271C.


Background Color

.myBgColor { background-color: #21271C; }

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

This div background color is #21271C.


Border color

.myBorderColor { border: 1px solid #21271C; }

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

This div border color is #21271C.


Opacity

.myOpacity80 { color: #21271C; opacity: 0.8; }

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

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

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

This text has shadow with #21271C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #21271C on black background.


Color preview on white background

This text has color #21271C on white background.



Black color preview on #21271C background

This text has black color on #21271C background.


White color preview on #21271C background

This text has white color on #21271C background.