COLOR #040557

HEX: #040557
RGB: (4,5,87)

Color info

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

RGB color model

#040557 color RGB value is (4,5,87).

  • red value is 4;
  • green value is 5;
  • blue value is 87.
RGB:
(4,5,87)
(2%,2%,34%)

RGB channels and saturation

R 4 of 255 = 2%
G 5 of 255 = 2%
B 87 of 255 = 34%

4
5
87

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

Portions of RGB colors in percentages

R + G + B =
4 + 5 + 87 = 96 (100%)
R 4 of 96 ~ 4.17%
G 5 of 96 ~ 5.21%
B 87 of 96 ~ 90.63%

%90.63

CMYK color model

#040557 color CMYK value is (95,94,0,66).

  • cyan value is 95.40%
  • magenta value is 94.25%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(95,94,0,66)
C95M94Y0K66 
(95%,94%,0%,66%)
(0.95/0.94/0.00/0.66)	

CMYK percentages

%95.4
%94.25
%0
%65.88

Codes

Color #040557 in popluar color models

040557
RGB4587
HSL239°91.21%17.84%
HSB/HSV239°95.40%34.12%
CMYK95.40%94.25%0.00%
65.88%

Color #040557 in popluar number systems.

HEX040557
Decimal4587
Binary1001011010111
Octal45127

Shades and tints

Shades of #040557

#040557
(4,5,87)
#040550
(4,5,80)
#040549
(4,5,73)
#040542
(4,5,66)
#04053B
(4,5,59)
#040534
(4,5,52)
#04052D
(4,5,45)
#040526
(4,5,38)
#04051F
(4,5,31)
#040518
(4,5,24)
#040511
(4,5,17)
#000000
(0,0,0)

Tints of #040557

#040557
(4,5,87)
#1A1B66
(26,27,102)
#303175
(48,49,117)
#464784
(70,71,132)
#5C5D93
(92,93,147)
#7273A2
(114,115,162)
#8889B1
(136,137,177)
#9E9FC0
(158,159,192)
#B4B5CF
(180,181,207)
#CACBDE
(202,203,222)
#E0E1ED
(224,225,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040557 color. Also use rgb(4,5,87) instead hex code.

Text Font Color

.myTextColor { color: #040557; }

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

This text font color is #040557.


Background Color

.myBgColor { background-color: #040557; }

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

This div background color is #040557.


Border color

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

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

This div border color is #040557.


Opacity

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

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

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

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

This text has shadow with #040557 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040557 on black background.


Color preview on white background

This text has color #040557 on white background.



Black color preview on #040557 background

This text has black color on #040557 background.


White color preview on #040557 background

This text has white color on #040557 background.