COLOR #042775

HEX: #042775 RGB: (4,39,117)

Color info

#042775 contains mainly blue color. Web safe color of #042775 is #003366 (or #036).

RGB color model

#042775 color RGB value is (4,39,117).

RGB: (4,39,117) (2%, 15%, 46%)

RGB channels and saturation

R 4 of 255 = 2%
G 39 of 255 = 15%
B 117 of 255 = 46%

4
39
117

R + G + B ~ 21%. #042775 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 39 + 117 = 160 (100%)
R 4 of 160 ~ 2.5%
G 39 of 160 ~ 24.38%
B 117 of 160 ~ 73.13'%

%24.38
%73.13

CMYK color model

#042775 color CMYK value is (97,67,0,54).

  • cyan value is 96.58%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 54.12%
CMYK: (97,67,0,54) C97M67Y0K54 (97%,67%,0%,54%) (0.97/0.67/0.00/0.54) 

CMYK percentages

%96.58
%66.67
%0
%54.12

Codes

Color #042775 in popluar color models

04 27 75
RGB 4 39 117
HSL 221° 93.39% 23.73%
HSB/HSV 221° 96.58% 45.88%
CMYK 96.58% 66.67% 0.00%
54.12%

Color #042775 in popluar number systems.

HEX 04 27 75
Decimal 4 39 117
Binary 100 100111 1110101
Octal 4 47 165

Shades and tints

Shades of #042775

#042775
(4,39,117)
#04246B
(4,36,107)
#042161
(4,33,97)
#041E57
(4,30,87)
#041B4D
(4,27,77)
#041843
(4,24,67)
#041539
(4,21,57)
#04122F
(4,18,47)
#040F25
(4,15,37)
#040C1B
(4,12,27)
#040911
(4,9,17)
#000000
(0,0,0)

Tints of #042775

#042775
(4,39,117)
#1A3A81
(26,58,129)
#304D8D
(48,77,141)
#466099
(70,96,153)
#5C73A5
(92,115,165)
#7286B1
(114,134,177)
#8899BD
(136,153,189)
#9EACC9
(158,172,201)
#B4BFD5
(180,191,213)
#CAD2E1
(202,210,225)
#E0E5ED
(224,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042775 color. Also use rgb(4,39,117) instead hex code.

Text Font Color

.myTextColor { color: #042775; }

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

This text font color is #042775.

Background Color

.myBgColor { background-color: #042775; }

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

This div background color is #042775.

Border color

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

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

This div border color is #042775.

Opacity

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

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

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

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

This text has shadow with #042775 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042775.

Preview

Color preview on black background

This text has color #042775 on black background.


Color preview on white background

This text has color #042775 on white background.


Black color preview on #042775 background

This text has black color on #042775 background.


White color preview on #042775 background

This text has white color on #042775 background.


Related colors

Complementary color

Complementary color for #hex is #FBD88A.


I love getcolorcode.com

Triadic colors

1 #750427 and #277504 with #042775 are triadic colors.

2 #752704 and #270475 with #042775 are triadic colors.