COLOR #21272D

HEX: #21272D RGB: (33,39,45)

Color info

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

RGB color model

#21272D color RGB value is (33,39,45).

RGB: (33,39,45) (13%, 15%, 18%)

RGB channels and saturation

R 33 of 255 = 13%
G 39 of 255 = 15%
B 45 of 255 = 18%

33
39
45

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

Portions of RGB colors in percentages

R + G + B = 33 + 39 + 45 = 117 (100%)
R 33 of 117 ~ 28.21%
G 39 of 117 ~ 33.33%
B 45 of 117 ~ 38.46'%

%28.21
%33.33
%38.46

CMYK color model

#21272D color CMYK value is (27,13,0,82).

  • cyan value is 26.67%
  • magenta value is 13.33%
  • yellow value is 0.00%
  • key color value is 82.35%
CMYK: (27,13,0,82) C27M13Y0K82 (27%,13%,0%,82%) (0.27/0.13/0.00/0.82) 

CMYK percentages

%26.67
%13.33
%0
%82.35

Codes

Color #21272D in popluar color models

21 27 2D
RGB 33 39 45
HSL 210° 15.38% 15.29%
HSB/HSV 210° 26.67% 17.65%
CMYK 26.67% 13.33% 0.00%
82.35%

Color #21272D in popluar number systems.

HEX 21 27 2D
Decimal 33 39 45
Binary 100001 100111 101101
Octal 41 47 55

Shades and tints

Shades of #21272D

#21272D
(33,39,45)
#1E2429
(30,36,41)
#1B2125
(27,33,37)
#181E21
(24,30,33)
#151B1D
(21,27,29)
#121819
(18,24,25)
#0F1515
(15,21,21)
#0C1211
(12,18,17)
#090F0D
(9,15,13)
#060C09
(6,12,9)
#030905
(3,9,5)
#000000
(0,0,0)

Tints of #21272D

#21272D
(33,39,45)
#353A40
(53,58,64)
#494D53
(73,77,83)
#5D6066
(93,96,102)
#717379
(113,115,121)
#85868C
(133,134,140)
#99999F
(153,153,159)
#ADACB2
(173,172,178)
#C1BFC5
(193,191,197)
#D5D2D8
(213,210,216)
#E9E5EB
(233,229,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #21272D color. Also use rgb(33,39,45) instead hex code.

Text Font Color

.myTextColor { color: #21272D; }

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

This text font color is #21272D.

Background Color

.myBgColor { background-color: #21272D; }

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

This div background color is #21272D.

Border color

.myBorderColor { border: 1px solid #21272D; }

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

This div border color is #21272D.

Opacity

.myOpacity80 { color: #21272D; opacity: 0.8; }

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

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

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

This text has shadow with #21272D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #21272D.

Preview

Color preview on black background

This text has color #21272D on black background.


Color preview on white background

This text has color #21272D on white background.


Black color preview on #21272D background

This text has black color on #21272D background.


White color preview on #21272D background

This text has white color on #21272D background.


Related colors

Complementary color

Complementary color for #hex is #DED8D2.


I love getcolorcode.com

Triadic colors

1 #2D2127 and #272D21 with #21272D are triadic colors.

2 #2D2721 and #27212D with #21272D are triadic colors.