COLOR #042D4C

HEX: #042D4C
RGB: (4,45,76)

Color info

#042D4C contains mainly green and blue colors. Web safe color of #042D4C is #003333 (or #033).

RGB color model

#042D4C color RGB value is (4,45,76).

  • red value is 4;
  • green value is 45;
  • blue value is 76.
RGB:
(4,45,76)
(2%,18%,30%)

RGB channels and saturation

R 4 of 255 = 2%
G 45 of 255 = 18%
B 76 of 255 = 30%

4
45
76

R + G + B ~ 17%. #042D4C is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 45 + 76 = 125 (100%)
R 4 of 125 ~ 3.2%
G 45 of 125 ~ 36%
B 76 of 125 ~ 60.8%

%36
%60.8

CMYK color model

#042D4C color CMYK value is (95,41,0,70).

  • cyan value is 94.74%
  • magenta value is 40.79%
  • yellow value is 0.00%
  • key color value is 70.20%
CMYK:
(95,41,0,70)
C95M41Y0K70 
(95%,41%,0%,70%)
(0.95/0.41/0.00/0.70)	

CMYK percentages

%94.74
%40.79
%0
%70.2

Codes

Color #042D4C in popluar color models

042D4C
RGB44576
HSL206°90.00%15.69%
HSB/HSV206°94.74%29.80%
CMYK94.74%40.79%0.00%
70.20%

Color #042D4C in popluar number systems.

HEX042D4C
Decimal44576
Binary1001011011001100
Octal455114

Shades and tints

Shades of #042D4C

#042D4C
(4,45,76)
#042946
(4,41,70)
#042540
(4,37,64)
#04213A
(4,33,58)
#041D34
(4,29,52)
#04192E
(4,25,46)
#041528
(4,21,40)
#041122
(4,17,34)
#040D1C
(4,13,28)
#040916
(4,9,22)
#040510
(4,5,16)
#000000
(0,0,0)

Tints of #042D4C

#042D4C
(4,45,76)
#1A405C
(26,64,92)
#30536C
(48,83,108)
#46667C
(70,102,124)
#5C798C
(92,121,140)
#728C9C
(114,140,156)
#889FAC
(136,159,172)
#9EB2BC
(158,178,188)
#B4C5CC
(180,197,204)
#CAD8DC
(202,216,220)
#E0EBEC
(224,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042D4C color. Also use rgb(4,45,76) instead hex code.

Text Font Color

.myTextColor { color: #042D4C; }

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

This text font color is #042D4C.


Background Color

.myBgColor { background-color: #042D4C; }

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

This div background color is #042D4C.


Border color

.myBorderColor { border: 1px solid #042D4C; }

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

This div border color is #042D4C.


Opacity

.myOpacity80 { color: #042D4C; opacity: 0.8; }

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

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

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

This text has shadow with #042D4C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #042D4C on black background.


Color preview on white background

This text has color #042D4C on white background.



Black color preview on #042D4C background

This text has black color on #042D4C background.


White color preview on #042D4C background

This text has white color on #042D4C background.