COLOR #021021

HEX: #021021
RGB: (2,16,33)

Color info

#021021 contains red, green and blue colors in about the same proportion. Web safe color of #021021 is #000033 (or #003).

RGB color model

#021021 color RGB value is (2,16,33).

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

RGB channels and saturation

R 2 of 255 = 1%
G 16 of 255 = 6%
B 33 of 255 = 13%

2
16
33

R + G + B ~ 7%. #021021 is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 16 + 33 = 51 (100%)
R 2 of 51 ~ 3.92%
G 16 of 51 ~ 31.37%
B 33 of 51 ~ 64.71%

%31.37
%64.71

CMYK color model

#021021 color CMYK value is (94,52,0,87).

  • cyan value is 93.94%
  • magenta value is 51.52%
  • yellow value is 0.00%
  • key color value is 87.06%
CMYK:
(94,52,0,87)
C94M52Y0K87 
(94%,52%,0%,87%)
(0.94/0.52/0.00/0.87)	

CMYK percentages

%93.94
%51.52
%0
%87.06

Codes

Color #021021 in popluar color models

021021
RGB21633
HSL213°88.57%6.86%
HSB/HSV213°93.94%12.94%
CMYK93.94%51.52%0.00%
87.06%

Color #021021 in popluar number systems.

HEX021021
Decimal21633
Binary1010000100001
Octal22041

Shades and tints

Shades of #021021

#021021
(2,16,33)
#020F1E
(2,15,30)
#020E1B
(2,14,27)
#020D18
(2,13,24)
#020C15
(2,12,21)
#020B12
(2,11,18)
#020A0F
(2,10,15)
#02090C
(2,9,12)
#020809
(2,8,9)
#020706
(2,7,6)
#020603
(2,6,3)
#000000
(0,0,0)

Tints of #021021

#021021
(2,16,33)
#192535
(25,37,53)
#303A49
(48,58,73)
#474F5D
(71,79,93)
#5E6471
(94,100,113)
#757985
(117,121,133)
#8C8E99
(140,142,153)
#A3A3AD
(163,163,173)
#BAB8C1
(186,184,193)
#D1CDD5
(209,205,213)
#E8E2E9
(232,226,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #021021; }

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

This text font color is #021021.


Background Color

.myBgColor { background-color: #021021; }

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

This div background color is #021021.


Border color

.myBorderColor { border: 1px solid #021021; }

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

This div border color is #021021.


Opacity

.myOpacity80 { color: #021021; opacity: 0.8; }

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

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

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

This text has shadow with #021021 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #021021 on black background.


Color preview on white background

This text has color #021021 on white background.



Black color preview on #021021 background

This text has black color on #021021 background.


White color preview on #021021 background

This text has white color on #021021 background.