COLOR #020C30

HEX: #020C30
RGB: (2,12,48)

Color info

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

RGB color model

#020C30 color RGB value is (2,12,48).

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

RGB channels and saturation

R 2 of 255 = 1%
G 12 of 255 = 5%
B 48 of 255 = 19%

2
12
48

R + G + B ~ 8%. #020C30 is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 12 + 48 = 62 (100%)
R 2 of 62 ~ 3.23%
G 12 of 62 ~ 19.35%
B 48 of 62 ~ 77.42%

%19.35
%77.42

CMYK color model

#020C30 color CMYK value is (96,75,0,81).

  • cyan value is 95.83%
  • magenta value is 75.00%
  • yellow value is 0.00%
  • key color value is 81.18%
CMYK:
(96,75,0,81)
C96M75Y0K81 
(96%,75%,0%,81%)
(0.96/0.75/0.00/0.81)	

CMYK percentages

%95.83
%75
%0
%81.18

Codes

Color #020C30 in popluar color models

020C30
RGB21248
HSL227°92.00%9.80%
HSB/HSV227°95.83%18.82%
CMYK95.83%75.00%0.00%
81.18%

Color #020C30 in popluar number systems.

HEX020C30
Decimal21248
Binary101100110000
Octal21460

Shades and tints

Shades of #020C30

#020C30
(2,12,48)
#020B2C
(2,11,44)
#020A28
(2,10,40)
#020924
(2,9,36)
#020820
(2,8,32)
#02071C
(2,7,28)
#020618
(2,6,24)
#020514
(2,5,20)
#020410
(2,4,16)
#02030C
(2,3,12)
#020208
(2,2,8)
#000000
(0,0,0)

Tints of #020C30

#020C30
(2,12,48)
#192242
(25,34,66)
#303854
(48,56,84)
#474E66
(71,78,102)
#5E6478
(94,100,120)
#757A8A
(117,122,138)
#8C909C
(140,144,156)
#A3A6AE
(163,166,174)
#BABCC0
(186,188,192)
#D1D2D2
(209,210,210)
#E8E8E4
(232,232,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #020C30; }

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

This text font color is #020C30.


Background Color

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

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

This div background color is #020C30.


Border color

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

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

This div border color is #020C30.


Opacity

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

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

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

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

This text has shadow with #020C30 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #020C30 on black background.


Color preview on white background

This text has color #020C30 on white background.



Black color preview on #020C30 background

This text has black color on #020C30 background.


White color preview on #020C30 background

This text has white color on #020C30 background.