COLOR #04154A

HEX: #04154A
RGB: (4,21,74)

Color info

#04154A contains mainly green and blue colors. Web safe color of #04154A is #000033 (or #003).

RGB color model

#04154A color RGB value is (4,21,74).

  • red value is 4;
  • green value is 21;
  • blue value is 74.
RGB:
(4,21,74)
(2%,8%,29%)

RGB channels and saturation

R 4 of 255 = 2%
G 21 of 255 = 8%
B 74 of 255 = 29%

4
21
74

R + G + B ~ 13%. #04154A is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 21 + 74 = 99 (100%)
R 4 of 99 ~ 4.04%
G 21 of 99 ~ 21.21%
B 74 of 99 ~ 74.75%

%21.21
%74.75

CMYK color model

#04154A color CMYK value is (95,72,0,71).

  • cyan value is 94.59%
  • magenta value is 71.62%
  • yellow value is 0.00%
  • key color value is 70.98%
CMYK:
(95,72,0,71)
C95M72Y0K71 
(95%,72%,0%,71%)
(0.95/0.72/0.00/0.71)	

CMYK percentages

%94.59
%71.62
%0
%70.98

Codes

Color #04154A in popluar color models

04154A
RGB42174
HSL225°89.74%15.29%
HSB/HSV225°94.59%29.02%
CMYK94.59%71.62%0.00%
70.98%

Color #04154A in popluar number systems.

HEX04154A
Decimal42174
Binary100101011001010
Octal425112

Shades and tints

Shades of #04154A

#04154A
(4,21,74)
#041444
(4,20,68)
#04133E
(4,19,62)
#041238
(4,18,56)
#041132
(4,17,50)
#04102C
(4,16,44)
#040F26
(4,15,38)
#040E20
(4,14,32)
#040D1A
(4,13,26)
#040C14
(4,12,20)
#040B0E
(4,11,14)
#000000
(0,0,0)

Tints of #04154A

#04154A
(4,21,74)
#1A2A5A
(26,42,90)
#303F6A
(48,63,106)
#46547A
(70,84,122)
#5C698A
(92,105,138)
#727E9A
(114,126,154)
#8893AA
(136,147,170)
#9EA8BA
(158,168,186)
#B4BDCA
(180,189,202)
#CAD2DA
(202,210,218)
#E0E7EA
(224,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04154A color. Also use rgb(4,21,74) instead hex code.

Text Font Color

.myTextColor { color: #04154A; }

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

This text font color is #04154A.


Background Color

.myBgColor { background-color: #04154A; }

<div style="background-color:#04154A">Inner text</div>

This div background color is #04154A.


Border color

.myBorderColor { border: 1px solid #04154A; }

<div style="border:3px solid #04154A">Div</div>

This div border color is #04154A.


Opacity

.myOpacity80 { color: #04154A; opacity: 0.8; }

<p style="color:#04154A;opacity:0.8;">80%</p>

Text with #04154A 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 #04154A;}

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

This text has shadow with #04154A color.

.textShadow {text-shadow: 3px 3px 1px #04154A, 3px 3px 1px red;}

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

This text has shadow with #04154A primary color and red secondary color.


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

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

This text has shadow with #04154A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04154A on black background.


Color preview on white background

This text has color #04154A on white background.



Black color preview on #04154A background

This text has black color on #04154A background.


White color preview on #04154A background

This text has white color on #04154A background.