COLOR #004F98

HEX: #004F98
RGB: (0,79,152)

Color info

#004F98 contains mainly blue color. Web safe color of #004F98 is #006699 (or #069).

RGB color model

#004F98 color RGB value is (0,79,152).

  • red value is 0;
  • green value is 79;
  • blue value is 152.
RGB:
(0,79,152)
(0%,31%,60%)

RGB channels and saturation

R 0 of 255 = 0%
G 79 of 255 = 31%
B 152 of 255 = 60%

0
79
152

R + G + B ~ 30%. #004F98 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 79 + 152 = 231 (100%)
R 0 of 231 ~ 0%
G 79 of 231 ~ 34.2%
B 152 of 231 ~ 65.8%

%34.2
%65.8

CMYK color model

#004F98 color CMYK value is (100,48,0,40).

  • cyan value is 100.00%
  • magenta value is 48.03%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(100,48,0,40)
C100M48Y0K40 
(100%,48%,0%,40%)
(1.00/0.48/0.00/0.40)	

CMYK percentages

%100
%48.03
%0
%40.39

Codes

Color #004F98 in popluar color models

004F98
RGB079152
HSL209°100.00%29.80%
HSB/HSV209°100.00%59.61%
CMYK100.00%48.03%0.00%
40.39%

Color #004F98 in popluar number systems.

HEX004F98
Decimal079152
Binary0100111110011000
Octal0117230

Shades and tints

Shades of #004F98

#004F98
(0,79,152)
#00488B
(0,72,139)
#00417E
(0,65,126)
#003A71
(0,58,113)
#003364
(0,51,100)
#002C57
(0,44,87)
#00254A
(0,37,74)
#001E3D
(0,30,61)
#001730
(0,23,48)
#001023
(0,16,35)
#000916
(0,9,22)
#000000
(0,0,0)

Tints of #004F98

#004F98
(0,79,152)
#175FA1
(23,95,161)
#2E6FAA
(46,111,170)
#457FB3
(69,127,179)
#5C8FBC
(92,143,188)
#739FC5
(115,159,197)
#8AAFCE
(138,175,206)
#A1BFD7
(161,191,215)
#B8CFE0
(184,207,224)
#CFDFE9
(207,223,233)
#E6EFF2
(230,239,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #004F98 color. Also use rgb(0,79,152) instead hex code.

Text Font Color

.myTextColor { color: #004F98; }

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

This text font color is #004F98.


Background Color

.myBgColor { background-color: #004F98; }

<div style="background-color:#004F98">Inner text</div>

This div background color is #004F98.


Border color

.myBorderColor { border: 1px solid #004F98; }

<div style="border:3px solid #004F98">Div</div>

This div border color is #004F98.


Opacity

.myOpacity80 { color: #004F98; opacity: 0.8; }

<p style="color:#004F98;opacity:0.8;">80%</p>

Text with #004F98 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 #004F98;}

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

This text has shadow with #004F98 color.

.textShadow {text-shadow: 3px 3px 1px #004F98, 3px 3px 1px red;}

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

This text has shadow with #004F98 primary color and red secondary color.


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

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

This text has shadow with #004F98 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #004F98 on black background.


Color preview on white background

This text has color #004F98 on white background.



Black color preview on #004F98 background

This text has black color on #004F98 background.


White color preview on #004F98 background

This text has white color on #004F98 background.