COLOR #0018A8

HEX: #0018A8
RGB: (0,24,168)

Color info

#0018A8 contains mainly blue color. Web safe color of #0018A8 is #000099 (or #009).

RGB color model

#0018A8 color RGB value is (0,24,168).

  • red value is 0;
  • green value is 24;
  • blue value is 168.
RGB:
(0,24,168)
(0%,9%,66%)

RGB channels and saturation

R 0 of 255 = 0%
G 24 of 255 = 9%
B 168 of 255 = 66%

0
24
168

R + G + B ~ 25%. #0018A8 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 24 + 168 = 192 (100%)
R 0 of 192 ~ 0%
G 24 of 192 ~ 12.5%
B 168 of 192 ~ 87.5%

%12.5
%87.5

CMYK color model

#0018A8 color CMYK value is (100,86,0,34).

  • cyan value is 100.00%
  • magenta value is 85.71%
  • yellow value is 0.00%
  • key color value is 34.12%
CMYK:
(100,86,0,34)
C100M86Y0K34 
(100%,86%,0%,34%)
(1.00/0.86/0.00/0.34)	

CMYK percentages

%100
%85.71
%0
%34.12

Codes

Color #0018A8 in popluar color models

0018A8
RGB024168
HSL231°100.00%32.94%
HSB/HSV231°100.00%65.88%
CMYK100.00%85.71%0.00%
34.12%

Color #0018A8 in popluar number systems.

HEX0018A8
Decimal024168
Binary01100010101000
Octal030250

Shades and tints

Shades of #0018A8

#0018A8
(0,24,168)
#001699
(0,22,153)
#00148A
(0,20,138)
#00127B
(0,18,123)
#00106C
(0,16,108)
#000E5D
(0,14,93)
#000C4E
(0,12,78)
#000A3F
(0,10,63)
#000830
(0,8,48)
#000621
(0,6,33)
#000412
(0,4,18)
#000000
(0,0,0)

Tints of #0018A8

#0018A8
(0,24,168)
#172DAF
(23,45,175)
#2E42B6
(46,66,182)
#4557BD
(69,87,189)
#5C6CC4
(92,108,196)
#7381CB
(115,129,203)
#8A96D2
(138,150,210)
#A1ABD9
(161,171,217)
#B8C0E0
(184,192,224)
#CFD5E7
(207,213,231)
#E6EAEE
(230,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0018A8 color. Also use rgb(0,24,168) instead hex code.

Text Font Color

.myTextColor { color: #0018A8; }

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

This text font color is #0018A8.


Background Color

.myBgColor { background-color: #0018A8; }

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

This div background color is #0018A8.


Border color

.myBorderColor { border: 1px solid #0018A8; }

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

This div border color is #0018A8.


Opacity

.myOpacity80 { color: #0018A8; opacity: 0.8; }

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

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

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

This text has shadow with #0018A8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0018A8 on black background.


Color preview on white background

This text has color #0018A8 on white background.



Black color preview on #0018A8 background

This text has black color on #0018A8 background.


White color preview on #0018A8 background

This text has white color on #0018A8 background.