COLOR #04124F

HEX: #04124F
RGB: (4,18,79)

Color info

#04124F contains mainly blue color. Web safe color of #04124F is #000066 (or #006).

RGB color model

#04124F color RGB value is (4,18,79).

  • red value is 4;
  • green value is 18;
  • blue value is 79.
RGB:
(4,18,79)
(2%,7%,31%)

RGB channels and saturation

R 4 of 255 = 2%
G 18 of 255 = 7%
B 79 of 255 = 31%

4
18
79

R + G + B ~ 13%. #04124F is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 18 + 79 = 101 (100%)
R 4 of 101 ~ 3.96%
G 18 of 101 ~ 17.82%
B 79 of 101 ~ 78.22%

%17.82
%78.22

CMYK color model

#04124F color CMYK value is (95,77,0,69).

  • cyan value is 94.94%
  • magenta value is 77.22%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(95,77,0,69)
C95M77Y0K69 
(95%,77%,0%,69%)
(0.95/0.77/0.00/0.69)	

CMYK percentages

%94.94
%77.22
%0
%69.02

Codes

Color #04124F in popluar color models

04124F
RGB41879
HSL229°90.36%16.27%
HSB/HSV229°94.94%30.98%
CMYK94.94%77.22%0.00%
69.02%

Color #04124F in popluar number systems.

HEX04124F
Decimal41879
Binary100100101001111
Octal422117

Shades and tints

Shades of #04124F

#04124F
(4,18,79)
#041148
(4,17,72)
#041041
(4,16,65)
#040F3A
(4,15,58)
#040E33
(4,14,51)
#040D2C
(4,13,44)
#040C25
(4,12,37)
#040B1E
(4,11,30)
#040A17
(4,10,23)
#040910
(4,9,16)
#040809
(4,8,9)
#000000
(0,0,0)

Tints of #04124F

#04124F
(4,18,79)
#1A275F
(26,39,95)
#303C6F
(48,60,111)
#46517F
(70,81,127)
#5C668F
(92,102,143)
#727B9F
(114,123,159)
#8890AF
(136,144,175)
#9EA5BF
(158,165,191)
#B4BACF
(180,186,207)
#CACFDF
(202,207,223)
#E0E4EF
(224,228,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04124F color. Also use rgb(4,18,79) instead hex code.

Text Font Color

.myTextColor { color: #04124F; }

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

This text font color is #04124F.


Background Color

.myBgColor { background-color: #04124F; }

<div style="background-color:#04124F">Inner text</div>

This div background color is #04124F.


Border color

.myBorderColor { border: 1px solid #04124F; }

<div style="border:3px solid #04124F">Div</div>

This div border color is #04124F.


Opacity

.myOpacity80 { color: #04124F; opacity: 0.8; }

<p style="color:#04124F;opacity:0.8;">80%</p>

Text with #04124F 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 #04124F;}

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

This text has shadow with #04124F color.

.textShadow {text-shadow: 3px 3px 1px #04124F, 3px 3px 1px red;}

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

This text has shadow with #04124F primary color and red secondary color.


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

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

This text has shadow with #04124F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04124F on black background.


Color preview on white background

This text has color #04124F on white background.



Black color preview on #04124F background

This text has black color on #04124F background.


White color preview on #04124F background

This text has white color on #04124F background.