COLOR #004054

HEX: #004054
RGB: (0,64,84)

Color info

#004054 contains only green and blue colors. Web safe color of #004054 is #003366 (or #036).

RGB color model

#004054 color RGB value is (0,64,84).

  • red value is 0;
  • green value is 64;
  • blue value is 84.
RGB:
(0,64,84)
(0%,25%,33%)

RGB channels and saturation

R 0 of 255 = 0%
G 64 of 255 = 25%
B 84 of 255 = 33%

0
64
84

R + G + B ~ 19%. #004054 is dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 64 + 84 = 148 (100%)
R 0 of 148 ~ 0%
G 64 of 148 ~ 43.24%
B 84 of 148 ~ 56.76%

%43.24
%56.76

CMYK color model

#004054 color CMYK value is (100,24,0,67).

  • cyan value is 100.00%
  • magenta value is 23.81%
  • yellow value is 0.00%
  • key color value is 67.06%
CMYK:
(100,24,0,67)
C100M24Y0K67 
(100%,24%,0%,67%)
(1.00/0.24/0.00/0.67)	

CMYK percentages

%100
%23.81
%0
%67.06

Codes

Color #004054 in popluar color models

004054
RGB06484
HSL194°100.00%16.47%
HSB/HSV194°100.00%32.94%
CMYK100.00%23.81%0.00%
67.06%

Color #004054 in popluar number systems.

HEX004054
Decimal06484
Binary010000001010100
Octal0100124

Shades and tints

Shades of #004054

#004054
(0,64,84)
#003B4D
(0,59,77)
#003646
(0,54,70)
#00313F
(0,49,63)
#002C38
(0,44,56)
#002731
(0,39,49)
#00222A
(0,34,42)
#001D23
(0,29,35)
#00181C
(0,24,28)
#001315
(0,19,21)
#000E0E
(0,14,14)
#000000
(0,0,0)

Tints of #004054

#004054
(0,64,84)
#175163
(23,81,99)
#2E6272
(46,98,114)
#457381
(69,115,129)
#5C8490
(92,132,144)
#73959F
(115,149,159)
#8AA6AE
(138,166,174)
#A1B7BD
(161,183,189)
#B8C8CC
(184,200,204)
#CFD9DB
(207,217,219)
#E6EAEA
(230,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #004054 color. Also use rgb(0,64,84) instead hex code.

Text Font Color

.myTextColor { color: #004054; }

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

This text font color is #004054.


Background Color

.myBgColor { background-color: #004054; }

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

This div background color is #004054.


Border color

.myBorderColor { border: 1px solid #004054; }

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

This div border color is #004054.


Opacity

.myOpacity80 { color: #004054; opacity: 0.8; }

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

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

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

This text has shadow with #004054 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #004054 on black background.


Color preview on white background

This text has color #004054 on white background.



Black color preview on #004054 background

This text has black color on #004054 background.


White color preview on #004054 background

This text has white color on #004054 background.