COLOR #001F8C

HEX: #001F8C
RGB: (0,31,140)

Color info

#001F8C contains mainly blue color. Web safe color of #001F8C is #003399 (or #039).

RGB color model

#001F8C color RGB value is (0,31,140).

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

RGB channels and saturation

R 0 of 255 = 0%
G 31 of 255 = 12%
B 140 of 255 = 55%

0
31
140

R + G + B ~ 22%. #001F8C is dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 31 + 140 = 171 (100%)
R 0 of 171 ~ 0%
G 31 of 171 ~ 18.13%
B 140 of 171 ~ 81.87%

%18.13
%81.87

CMYK color model

#001F8C color CMYK value is (100,78,0,45).

  • cyan value is 100.00%
  • magenta value is 77.86%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(100,78,0,45)
C100M78Y0K45 
(100%,78%,0%,45%)
(1.00/0.78/0.00/0.45)	

CMYK percentages

%100
%77.86
%0
%45.1

Codes

Color #001F8C in popluar color models

001F8C
RGB031140
HSL227°100.00%27.45%
HSB/HSV227°100.00%54.90%
CMYK100.00%77.86%0.00%
45.10%

Color #001F8C in popluar number systems.

HEX001F8C
Decimal031140
Binary01111110001100
Octal037214

Shades and tints

Shades of #001F8C

#001F8C
(0,31,140)
#001D80
(0,29,128)
#001B74
(0,27,116)
#001968
(0,25,104)
#00175C
(0,23,92)
#001550
(0,21,80)
#001344
(0,19,68)
#001138
(0,17,56)
#000F2C
(0,15,44)
#000D20
(0,13,32)
#000B14
(0,11,20)
#000000
(0,0,0)

Tints of #001F8C

#001F8C
(0,31,140)
#173396
(23,51,150)
#2E47A0
(46,71,160)
#455BAA
(69,91,170)
#5C6FB4
(92,111,180)
#7383BE
(115,131,190)
#8A97C8
(138,151,200)
#A1ABD2
(161,171,210)
#B8BFDC
(184,191,220)
#CFD3E6
(207,211,230)
#E6E7F0
(230,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #001F8C color. Also use rgb(0,31,140) instead hex code.

Text Font Color

.myTextColor { color: #001F8C; }

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

This text font color is #001F8C.


Background Color

.myBgColor { background-color: #001F8C; }

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

This div background color is #001F8C.


Border color

.myBorderColor { border: 1px solid #001F8C; }

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

This div border color is #001F8C.


Opacity

.myOpacity80 { color: #001F8C; opacity: 0.8; }

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

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

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

This text has shadow with #001F8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #001F8C on black background.


Color preview on white background

This text has color #001F8C on white background.



Black color preview on #001F8C background

This text has black color on #001F8C background.


White color preview on #001F8C background

This text has white color on #001F8C background.