COLOR #045F99

HEX: #045F99
RGB: (4,95,153)

Color info

#045F99 contains mainly green and blue colors. Web safe color of #045F99 is #006699 (or #069).

RGB color model

#045F99 color RGB value is (4,95,153).

  • red value is 4;
  • green value is 95;
  • blue value is 153.
RGB:
(4,95,153)
(2%,37%,60%)

RGB channels and saturation

R 4 of 255 = 2%
G 95 of 255 = 37%
B 153 of 255 = 60%

4
95
153

R + G + B ~ 33%. #045F99 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 95 + 153 = 252 (100%)
R 4 of 252 ~ 1.59%
G 95 of 252 ~ 37.7%
B 153 of 252 ~ 60.71%

%37.7
%60.71

CMYK color model

#045F99 color CMYK value is (97,38,0,40).

  • cyan value is 97.39%
  • magenta value is 37.91%
  • yellow value is 0.00%
  • key color value is 40.00%
CMYK:
(97,38,0,40)
C97M38Y0K40 
(97%,38%,0%,40%)
(0.97/0.38/0.00/0.40)	

CMYK percentages

%97.39
%37.91
%0
%40

Codes

Color #045F99 in popluar color models

045F99
RGB495153
HSL203°94.90%30.78%
HSB/HSV203°97.39%60.00%
CMYK97.39%37.91%0.00%
40.00%

Color #045F99 in popluar number systems.

HEX045F99
Decimal495153
Binary100101111110011001
Octal4137231

Shades and tints

Shades of #045F99

#045F99
(4,95,153)
#04578C
(4,87,140)
#044F7F
(4,79,127)
#044772
(4,71,114)
#043F65
(4,63,101)
#043758
(4,55,88)
#042F4B
(4,47,75)
#04273E
(4,39,62)
#041F31
(4,31,49)
#041724
(4,23,36)
#040F17
(4,15,23)
#000000
(0,0,0)

Tints of #045F99

#045F99
(4,95,153)
#1A6DA2
(26,109,162)
#307BAB
(48,123,171)
#4689B4
(70,137,180)
#5C97BD
(92,151,189)
#72A5C6
(114,165,198)
#88B3CF
(136,179,207)
#9EC1D8
(158,193,216)
#B4CFE1
(180,207,225)
#CADDEA
(202,221,234)
#E0EBF3
(224,235,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #045F99 color. Also use rgb(4,95,153) instead hex code.

Text Font Color

.myTextColor { color: #045F99; }

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

This text font color is #045F99.


Background Color

.myBgColor { background-color: #045F99; }

<div style="background-color:#045F99">Inner text</div>

This div background color is #045F99.


Border color

.myBorderColor { border: 1px solid #045F99; }

<div style="border:3px solid #045F99">Div</div>

This div border color is #045F99.


Opacity

.myOpacity80 { color: #045F99; opacity: 0.8; }

<p style="color:#045F99;opacity:0.8;">80%</p>

Text with #045F99 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 #045F99;}

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

This text has shadow with #045F99 color.

.textShadow {text-shadow: 3px 3px 1px #045F99, 3px 3px 1px red;}

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

This text has shadow with #045F99 primary color and red secondary color.


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

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

This text has shadow with #045F99 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #045F99 on black background.


Color preview on white background

This text has color #045F99 on white background.



Black color preview on #045F99 background

This text has black color on #045F99 background.


White color preview on #045F99 background

This text has white color on #045F99 background.