COLOR #040211

HEX: #040211 RGB: (4,2,17)

Color info

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

RGB color model

#040211 color RGB value is (4,2,17).

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

RGB channels and saturation

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

4
2
17

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

Portions of RGB colors in percentages

R + G + B = 4 + 2 + 17 = 23 (100%)
R 4 of 23 ~ 17.39%
G 2 of 23 ~ 8.7%
B 17 of 23 ~ 73.91'%

%17.39
%73.91

CMYK color model

#040211 color CMYK value is (76,88,0,93).

  • cyan value is 76.47%
  • magenta value is 88.24%
  • yellow value is 0.00%
  • key color value is 93.33%
CMYK: (76,88,0,93) C76M88Y0K93 (76%,88%,0%,93%) (0.76/0.88/0.00/0.93) 

CMYK percentages

%76.47
%88.24
%0
%93.33

Codes

Color #040211 in popluar color models

04 02 11
RGB 4 2 17
HSL 248° 78.95% 3.73%
HSB/HSV 248° 88.24% 6.67%
CMYK 76.47% 88.24% 0.00%
93.33%

Color #040211 in popluar number systems.

HEX 04 02 11
Decimal 4 2 17
Binary 100 10 10001
Octal 4 2 21

Shades and tints

Shades of #040211

#040211
(4,2,17)
#040210
(4,2,16)
#04020F
(4,2,15)
#04020E
(4,2,14)
#04020D
(4,2,13)
#04020C
(4,2,12)
#04020B
(4,2,11)
#04020A
(4,2,10)
#040209
(4,2,9)
#040208
(4,2,8)
#040207
(4,2,7)
#000000
(0,0,0)

Tints of #040211

#040211
(4,2,17)
#1A1926
(26,25,38)
#30303B
(48,48,59)
#464750
(70,71,80)
#5C5E65
(92,94,101)
#72757A
(114,117,122)
#888C8F
(136,140,143)
#9EA3A4
(158,163,164)
#B4BAB9
(180,186,185)
#CAD1CE
(202,209,206)
#E0E8E3
(224,232,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040211; }

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

This text font color is #040211.

Background Color

.myBgColor { background-color: #040211; }

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

This div background color is #040211.

Border color

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

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

This div border color is #040211.

Opacity

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

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

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

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

This text has shadow with #040211 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040211.

Preview

Color preview on black background

This text has color #040211 on black background.


Color preview on white background

This text has color #040211 on white background.


Black color preview on #040211 background

This text has black color on #040211 background.


White color preview on #040211 background

This text has white color on #040211 background.


Related colors

Complementary color

Complementary color for #hex is #FBFDEE.


I love getcolorcode.com

Triadic colors

1 #110402 and #021104 with #040211 are triadic colors.

2 #110204 and #020411 with #040211 are triadic colors.