COLOR #21272A

HEX: #21272A RGB: (33,39,42)

Color info

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

RGB color model

#21272A color RGB value is (33,39,42).

RGB: (33,39,42) (13%, 15%, 16%)

RGB channels and saturation

R 33 of 255 = 13%
G 39 of 255 = 15%
B 42 of 255 = 16%

33
39
42

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

Portions of RGB colors in percentages

R + G + B = 33 + 39 + 42 = 114 (100%)
R 33 of 114 ~ 28.95%
G 39 of 114 ~ 34.21%
B 42 of 114 ~ 36.84'%

%28.95
%34.21
%36.84

CMYK color model

#21272A color CMYK value is (21,7,0,84).

  • cyan value is 21.43%
  • magenta value is 7.14%
  • yellow value is 0.00%
  • key color value is 83.53%

CMYK: (21,7,0,84)
C21M7Y0K84 (21%, 7%, 0%, 84%)
(0.21 / 0.07 / 0.00 / 0.84)

CMYK percentages

%21.43
%7.14
%0
%83.53

Codes

Color #21272A in popluar color models

21 27 2A
RGB 33 39 42
HSL 200° 12.00% 14.71%
HSB/HSV 200° 21.43% 16.47%
CMYK 21.43% 7.14% 0.00%
83.53%

Color #21272A in popluar number systems.

HEX 21 27 2A
Decimal 33 39 42
Binary 100001 100111 101010
Octal 41 47 52

Shades and tints

Shades of #21272A

#21272A
(33,39,42)
#1E2427
(30,36,39)
#1B2124
(27,33,36)
#181E21
(24,30,33)
#151B1E
(21,27,30)
#12181B
(18,24,27)
#0F1518
(15,21,24)
#0C1215
(12,18,21)
#090F12
(9,15,18)
#060C0F
(6,12,15)
#03090C
(3,9,12)
#000000
(0,0,0)

Tints of #21272A

#21272A
(33,39,42)
#353A3D
(53,58,61)
#494D50
(73,77,80)
#5D6063
(93,96,99)
#717376
(113,115,118)
#858689
(133,134,137)
#99999C
(153,153,156)
#ADACAF
(173,172,175)
#C1BFC2
(193,191,194)
#D5D2D5
(213,210,213)
#E9E5E8
(233,229,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #21272A; }

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

This text font color is #21272A.

Background Color

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

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

This div background color is #21272A.

Border color

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

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

This div border color is #21272A.

Opacity

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

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

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

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

This text has shadow with #21272A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #21272A.

Preview

Color preview on black background

This text has color #21272A on black background.


Color preview on white background

This text has color #21272A on white background.


Black color preview on #21272A background

This text has black color on #21272A background.


White color preview on #21272A background

This text has white color on #21272A background.


Related colors

Complementary color

Complementary color for #hex is #DED8D5.


I love getcolorcode.com

Triadic colors

1 #2A2127 and #272A21 with #21272A are triadic colors.

2 #2A2721 and #27212A with #21272A are triadic colors.