COLOR #040311

HEX: #040311 RGB: (4,3,17)

Color info

#040311 contains red, green and blue colors in about the same proportion. Web safe color of #040311 is #000000 (or #000).

RGB color model

#040311 color RGB value is (4,3,17).

RGB: (4,3,17) (2%, 1%, 7%)

RGB channels and saturation

R 4 of 255 = 2%
G 3 of 255 = 1%
B 17 of 255 = 7%

4
3
17

R + G + B ~ 3%. #040311 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 3 + 17 = 24 (100%)
R 4 of 24 ~ 16.67%
G 3 of 24 ~ 12.5%
B 17 of 24 ~ 70.83'%

%16.67
%12.5
%70.83

CMYK color model

#040311 color CMYK value is (76,82,0,93).

  • cyan value is 76.47%
  • magenta value is 82.35%
  • yellow value is 0.00%
  • key color value is 93.33%
CMYK: (76,82,0,93) C76M82Y0K93 (76%,82%,0%,93%) (0.76/0.82/0.00/0.93) 

CMYK percentages

%76.47
%82.35
%0
%93.33

Codes

Color #040311 in popluar color models

04 03 11
RGB 4 3 17
HSL 244° 70.00% 3.92%
HSB/HSV 244° 82.35% 6.67%
CMYK 76.47% 82.35% 0.00%
93.33%

Color #040311 in popluar number systems.

HEX 04 03 11
Decimal 4 3 17
Binary 100 11 10001
Octal 4 3 21

Shades and tints

Shades of #040311

#040311
(4,3,17)
#040310
(4,3,16)
#04030F
(4,3,15)
#04030E
(4,3,14)
#04030D
(4,3,13)
#04030C
(4,3,12)
#04030B
(4,3,11)
#04030A
(4,3,10)
#040309
(4,3,9)
#040308
(4,3,8)
#040307
(4,3,7)
#000000
(0,0,0)

Tints of #040311

#040311
(4,3,17)
#1A1926
(26,25,38)
#302F3B
(48,47,59)
#464550
(70,69,80)
#5C5B65
(92,91,101)
#72717A
(114,113,122)
#88878F
(136,135,143)
#9E9DA4
(158,157,164)
#B4B3B9
(180,179,185)
#CAC9CE
(202,201,206)
#E0DFE3
(224,223,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040311 color. Also use rgb(4,3,17) instead hex code.

Text Font Color

.myTextColor { color: #040311; }

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

This text font color is #040311.

Background Color

.myBgColor { background-color: #040311; }

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

This div background color is #040311.

Border color

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

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

This div border color is #040311.

Opacity

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

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

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

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

This text has shadow with #040311 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040311.

Preview

Color preview on black background

This text has color #040311 on black background.


Color preview on white background

This text has color #040311 on white background.


Black color preview on #040311 background

This text has black color on #040311 background.


White color preview on #040311 background

This text has white color on #040311 background.


Related colors

Complementary color

Complementary color for #hex is #FBFCEE.


I love getcolorcode.com

Triadic colors

1 #110403 and #031104 with #040311 are triadic colors.

2 #110304 and #030411 with #040311 are triadic colors.