COLOR #021C21

HEX: #021C21
RGB: (2,28,33)

Color info

#021C21 contains red, green and blue colors in about the same proportion. Web safe color of #021C21 is #003333 (or #033).

RGB color model

#021C21 color RGB value is (2,28,33).

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

RGB channels and saturation

R 2 of 255 = 1%
G 28 of 255 = 11%
B 33 of 255 = 13%

2
28
33

R + G + B ~ 8%. #021C21 is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 28 + 33 = 63 (100%)
R 2 of 63 ~ 3.17%
G 28 of 63 ~ 44.44%
B 33 of 63 ~ 52.38%

%44.44
%52.38

CMYK color model

#021C21 color CMYK value is (94,15,0,87).

  • cyan value is 93.94%
  • magenta value is 15.15%
  • yellow value is 0.00%
  • key color value is 87.06%
CMYK:
(94,15,0,87)
C94M15Y0K87 
(94%,15%,0%,87%)
(0.94/0.15/0.00/0.87)	

CMYK percentages

%93.94
%15.15
%0
%87.06

Codes

Color #021C21 in popluar color models

021C21
RGB22833
HSL190°88.57%6.86%
HSB/HSV190°93.94%12.94%
CMYK93.94%15.15%0.00%
87.06%

Color #021C21 in popluar number systems.

HEX021C21
Decimal22833
Binary1011100100001
Octal23441

Shades and tints

Shades of #021C21

#021C21
(2,28,33)
#021A1E
(2,26,30)
#02181B
(2,24,27)
#021618
(2,22,24)
#021415
(2,20,21)
#021212
(2,18,18)
#02100F
(2,16,15)
#020E0C
(2,14,12)
#020C09
(2,12,9)
#020A06
(2,10,6)
#020803
(2,8,3)
#000000
(0,0,0)

Tints of #021C21

#021C21
(2,28,33)
#193035
(25,48,53)
#304449
(48,68,73)
#47585D
(71,88,93)
#5E6C71
(94,108,113)
#758085
(117,128,133)
#8C9499
(140,148,153)
#A3A8AD
(163,168,173)
#BABCC1
(186,188,193)
#D1D0D5
(209,208,213)
#E8E4E9
(232,228,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #021C21 color. Also use rgb(2,28,33) instead hex code.

Text Font Color

.myTextColor { color: #021C21; }

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

This text font color is #021C21.


Background Color

.myBgColor { background-color: #021C21; }

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

This div background color is #021C21.


Border color

.myBorderColor { border: 1px solid #021C21; }

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

This div border color is #021C21.


Opacity

.myOpacity80 { color: #021C21; opacity: 0.8; }

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

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

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

This text has shadow with #021C21 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #021C21 on black background.


Color preview on white background

This text has color #021C21 on white background.



Black color preview on #021C21 background

This text has black color on #021C21 background.


White color preview on #021C21 background

This text has white color on #021C21 background.