COLOR #00158C

HEX: #00158C
RGB: (0,21,140)

Color info

#00158C contains mainly blue color. Web safe color of #00158C is #000099 (or #009).

RGB color model

#00158C color RGB value is (0,21,140).

  • red value is 0;
  • green value is 21;
  • blue value is 140.
RGB:
(0,21,140)
(0%,8%,55%)

RGB channels and saturation

R 0 of 255 = 0%
G 21 of 255 = 8%
B 140 of 255 = 55%

0
21
140

R + G + B ~ 21%. #00158C is dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 21 + 140 = 161 (100%)
R 0 of 161 ~ 0%
G 21 of 161 ~ 13.04%
B 140 of 161 ~ 86.96%

%13.04
%86.96

CMYK color model

#00158C color CMYK value is (100,85,0,45).

  • cyan value is 100.00%
  • magenta value is 85.00%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(100,85,0,45)
C100M85Y0K45 
(100%,85%,0%,45%)
(1.00/0.85/0.00/0.45)	

CMYK percentages

%100
%85
%0
%45.1

Codes

Color #00158C in popluar color models

00158C
RGB021140
HSL231°100.00%27.45%
HSB/HSV231°100.00%54.90%
CMYK100.00%85.00%0.00%
45.10%

Color #00158C in popluar number systems.

HEX00158C
Decimal021140
Binary01010110001100
Octal025214

Shades and tints

Shades of #00158C

#00158C
(0,21,140)
#001480
(0,20,128)
#001374
(0,19,116)
#001268
(0,18,104)
#00115C
(0,17,92)
#001050
(0,16,80)
#000F44
(0,15,68)
#000E38
(0,14,56)
#000D2C
(0,13,44)
#000C20
(0,12,32)
#000B14
(0,11,20)
#000000
(0,0,0)

Tints of #00158C

#00158C
(0,21,140)
#172A96
(23,42,150)
#2E3FA0
(46,63,160)
#4554AA
(69,84,170)
#5C69B4
(92,105,180)
#737EBE
(115,126,190)
#8A93C8
(138,147,200)
#A1A8D2
(161,168,210)
#B8BDDC
(184,189,220)
#CFD2E6
(207,210,230)
#E6E7F0
(230,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #00158C color. Also use rgb(0,21,140) instead hex code.

Text Font Color

.myTextColor { color: #00158C; }

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

This text font color is #00158C.


Background Color

.myBgColor { background-color: #00158C; }

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

This div background color is #00158C.


Border color

.myBorderColor { border: 1px solid #00158C; }

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

This div border color is #00158C.


Opacity

.myOpacity80 { color: #00158C; opacity: 0.8; }

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

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

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

This text has shadow with #00158C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #00158C on black background.


Color preview on white background

This text has color #00158C on white background.



Black color preview on #00158C background

This text has black color on #00158C background.


White color preview on #00158C background

This text has white color on #00158C background.