COLOR #020C04

HEX: #020C04
RGB: (2,12,4)

Color info

#020C04 contains red, green and blue colors in about the same proportion. Web safe color of #020C04 is #000000 (or #000).

RGB color model

#020C04 color RGB value is (2,12,4).

  • red value is 2;
  • green value is 12;
  • blue value is 4.
RGB:
(2,12,4)
(1%,5%,2%)

RGB channels and saturation

R 2 of 255 = 1%
G 12 of 255 = 5%
B 4 of 255 = 2%

2
12
4

R + G + B ~ 3%. #020C04 is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 12 + 4 = 18 (100%)
R 2 of 18 ~ 11.11%
G 12 of 18 ~ 66.67%
B 4 of 18 ~ 22.22%

%11.11
%66.67
%22.22

CMYK color model

#020C04 color CMYK value is (83,0,67,95).

  • cyan value is 83.33%
  • magenta value is 0.00%
  • yellow value is 66.67%
  • key color value is 95.29%
CMYK:
(83,0,67,95)
C83M0Y67K95 
(83%,0%,67%,95%)
(0.83/0.00/0.67/0.95)	

CMYK percentages

%83.33
%0
%66.67
%95.29

Codes

Color #020C04 in popluar color models

020C04
RGB2124
HSL132°71.43%2.75%
HSB/HSV132°83.33%4.71%
CMYK83.33%0.00%66.67%
95.29%

Color #020C04 in popluar number systems.

HEX020C04
Decimal2124
Binary101100100
Octal2144

Shades and tints

Shades of #020C04

#020C04
(2,12,4)
#020B04
(2,11,4)
#020A04
(2,10,4)
#020904
(2,9,4)
#020804
(2,8,4)
#020704
(2,7,4)
#020604
(2,6,4)
#020504
(2,5,4)
#020404
(2,4,4)
#020304
(2,3,4)
#020204
(2,2,4)
#000000
(0,0,0)

Tints of #020C04

#020C04
(2,12,4)
#19221A
(25,34,26)
#303830
(48,56,48)
#474E46
(71,78,70)
#5E645C
(94,100,92)
#757A72
(117,122,114)
#8C9088
(140,144,136)
#A3A69E
(163,166,158)
#BABCB4
(186,188,180)
#D1D2CA
(209,210,202)
#E8E8E0
(232,232,224)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #020C04 color. Also use rgb(2,12,4) instead hex code.

Text Font Color

.myTextColor { color: #020C04; }

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

This text font color is #020C04.


Background Color

.myBgColor { background-color: #020C04; }

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

This div background color is #020C04.


Border color

.myBorderColor { border: 1px solid #020C04; }

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

This div border color is #020C04.


Opacity

.myOpacity80 { color: #020C04; opacity: 0.8; }

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

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

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

This text has shadow with #020C04 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #020C04 on black background.


Color preview on white background

This text has color #020C04 on white background.



Black color preview on #020C04 background

This text has black color on #020C04 background.


White color preview on #020C04 background

This text has white color on #020C04 background.