COLOR #040526

HEX: #040526
RGB: (4,5,38)

Color info

#040526 contains red, green and blue colors in about the same proportion. Web safe color of #040526 is #000033 (or #003).

RGB color model

#040526 color RGB value is (4,5,38).

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

RGB channels and saturation

R 4 of 255 = 2%
G 5 of 255 = 2%
B 38 of 255 = 15%

4
5
38

R + G + B ~ 6%. #040526 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 5 + 38 = 47 (100%)
R 4 of 47 ~ 8.51%
G 5 of 47 ~ 10.64%
B 38 of 47 ~ 80.85%

%10.64
%80.85

CMYK color model

#040526 color CMYK value is (89,87,0,85).

  • cyan value is 89.47%
  • magenta value is 86.84%
  • yellow value is 0.00%
  • key color value is 85.10%
CMYK:
(89,87,0,85)
C89M87Y0K85 
(89%,87%,0%,85%)
(0.89/0.87/0.00/0.85)	

CMYK percentages

%89.47
%86.84
%0
%85.1

Codes

Color #040526 in popluar color models

040526
RGB4538
HSL238°80.95%8.24%
HSB/HSV238°89.47%14.90%
CMYK89.47%86.84%0.00%
85.10%

Color #040526 in popluar number systems.

HEX040526
Decimal4538
Binary100101100110
Octal4546

Shades and tints

Shades of #040526

#040526
(4,5,38)
#040523
(4,5,35)
#040520
(4,5,32)
#04051D
(4,5,29)
#04051A
(4,5,26)
#040517
(4,5,23)
#040514
(4,5,20)
#040511
(4,5,17)
#04050E
(4,5,14)
#04050B
(4,5,11)
#040508
(4,5,8)
#000000
(0,0,0)

Tints of #040526

#040526
(4,5,38)
#1A1B39
(26,27,57)
#30314C
(48,49,76)
#46475F
(70,71,95)
#5C5D72
(92,93,114)
#727385
(114,115,133)
#888998
(136,137,152)
#9E9FAB
(158,159,171)
#B4B5BE
(180,181,190)
#CACBD1
(202,203,209)
#E0E1E4
(224,225,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040526; }

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

This text font color is #040526.


Background Color

.myBgColor { background-color: #040526; }

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

This div background color is #040526.


Border color

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

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

This div border color is #040526.


Opacity

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

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

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

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

This text has shadow with #040526 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040526 on black background.


Color preview on white background

This text has color #040526 on white background.



Black color preview on #040526 background

This text has black color on #040526 background.


White color preview on #040526 background

This text has white color on #040526 background.