COLOR #040826

HEX: #040826
RGB: (4,8,38)

Color info

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

RGB color model

#040826 color RGB value is (4,8,38).

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

RGB channels and saturation

R 4 of 255 = 2%
G 8 of 255 = 3%
B 38 of 255 = 15%

4
8
38

R + G + B ~ 7%. #040826 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 8 + 38 = 50 (100%)
R 4 of 50 ~ 8%
G 8 of 50 ~ 16%
B 38 of 50 ~ 76%

%16
%76

CMYK color model

#040826 color CMYK value is (89,79,0,85).

  • cyan value is 89.47%
  • magenta value is 78.95%
  • yellow value is 0.00%
  • key color value is 85.10%
CMYK:
(89,79,0,85)
C89M79Y0K85 
(89%,79%,0%,85%)
(0.89/0.79/0.00/0.85)	

CMYK percentages

%89.47
%78.95
%0
%85.1

Codes

Color #040826 in popluar color models

040826
RGB4838
HSL233°80.95%8.24%
HSB/HSV233°89.47%14.90%
CMYK89.47%78.95%0.00%
85.10%

Color #040826 in popluar number systems.

HEX040826
Decimal4838
Binary1001000100110
Octal41046

Shades and tints

Shades of #040826

#040826
(4,8,38)
#040823
(4,8,35)
#040820
(4,8,32)
#04081D
(4,8,29)
#04081A
(4,8,26)
#040817
(4,8,23)
#040814
(4,8,20)
#040811
(4,8,17)
#04080E
(4,8,14)
#04080B
(4,8,11)
#040808
(4,8,8)
#000000
(0,0,0)

Tints of #040826

#040826
(4,8,38)
#1A1E39
(26,30,57)
#30344C
(48,52,76)
#464A5F
(70,74,95)
#5C6072
(92,96,114)
#727685
(114,118,133)
#888C98
(136,140,152)
#9EA2AB
(158,162,171)
#B4B8BE
(180,184,190)
#CACED1
(202,206,209)
#E0E4E4
(224,228,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040826; }

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

This text font color is #040826.


Background Color

.myBgColor { background-color: #040826; }

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

This div background color is #040826.


Border color

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

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

This div border color is #040826.


Opacity

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

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

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

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

This text has shadow with #040826 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040826 on black background.


Color preview on white background

This text has color #040826 on white background.



Black color preview on #040826 background

This text has black color on #040826 background.


White color preview on #040826 background

This text has white color on #040826 background.