COLOR #031F40

HEX: #031F40
RGB: (3,31,64)

Color info

#031F40 contains mainly green and blue colors. Web safe color of #031F40 is #003333 (or #033).

RGB color model

#031F40 color RGB value is (3,31,64).

  • red value is 3;
  • green value is 31;
  • blue value is 64.
RGB:
(3,31,64)
(1%,12%,25%)

RGB channels and saturation

R 3 of 255 = 1%
G 31 of 255 = 12%
B 64 of 255 = 25%

3
31
64

R + G + B ~ 13%. #031F40 is dark color.

Portions of RGB colors in percentages

R + G + B =
3 + 31 + 64 = 98 (100%)
R 3 of 98 ~ 3.06%
G 31 of 98 ~ 31.63%
B 64 of 98 ~ 65.31%

%31.63
%65.31

CMYK color model

#031F40 color CMYK value is (95,52,0,75).

  • cyan value is 95.31%
  • magenta value is 51.56%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(95,52,0,75)
C95M52Y0K75 
(95%,52%,0%,75%)
(0.95/0.52/0.00/0.75)	

CMYK percentages

%95.31
%51.56
%0
%74.9

Codes

Color #031F40 in popluar color models

031F40
RGB33164
HSL212°91.04%13.14%
HSB/HSV212°95.31%25.10%
CMYK95.31%51.56%0.00%
74.90%

Color #031F40 in popluar number systems.

HEX031F40
Decimal33164
Binary11111111000000
Octal337100

Shades and tints

Shades of #031F40

#031F40
(3,31,64)
#031D3B
(3,29,59)
#031B36
(3,27,54)
#031931
(3,25,49)
#03172C
(3,23,44)
#031527
(3,21,39)
#031322
(3,19,34)
#03111D
(3,17,29)
#030F18
(3,15,24)
#030D13
(3,13,19)
#030B0E
(3,11,14)
#000000
(0,0,0)

Tints of #031F40

#031F40
(3,31,64)
#193351
(25,51,81)
#2F4762
(47,71,98)
#455B73
(69,91,115)
#5B6F84
(91,111,132)
#718395
(113,131,149)
#8797A6
(135,151,166)
#9DABB7
(157,171,183)
#B3BFC8
(179,191,200)
#C9D3D9
(201,211,217)
#DFE7EA
(223,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #031F40 color. Also use rgb(3,31,64) instead hex code.

Text Font Color

.myTextColor { color: #031F40; }

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

This text font color is #031F40.


Background Color

.myBgColor { background-color: #031F40; }

<div style="background-color:#031F40">Inner text</div>

This div background color is #031F40.


Border color

.myBorderColor { border: 1px solid #031F40; }

<div style="border:3px solid #031F40">Div</div>

This div border color is #031F40.


Opacity

.myOpacity80 { color: #031F40; opacity: 0.8; }

<p style="color:#031F40;opacity:0.8;">80%</p>

Text with #031F40 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 #031F40;}

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

This text has shadow with #031F40 color.

.textShadow {text-shadow: 3px 3px 1px #031F40, 3px 3px 1px red;}

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

This text has shadow with #031F40 primary color and red secondary color.


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

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

This text has shadow with #031F40 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #031F40 on black background.


Color preview on white background

This text has color #031F40 on white background.



Black color preview on #031F40 background

This text has black color on #031F40 background.


White color preview on #031F40 background

This text has white color on #031F40 background.