COLOR #040B21

HEX: #040B21 RGB: (4,11,33)

Color info

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

RGB color model

#040B21 color RGB value is (4,11,33).

RGB: (4,11,33) (2%, 4%, 13%)

RGB channels and saturation

R 4 of 255 = 2%
G 11 of 255 = 4%
B 33 of 255 = 13%

4
11
33

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

Portions of RGB colors in percentages

R + G + B = 4 + 11 + 33 = 48 (100%)
R 4 of 48 ~ 8.33%
G 11 of 48 ~ 22.92%
B 33 of 48 ~ 68.75'%

%22.92
%68.75

CMYK color model

#040B21 color CMYK value is (88,67,0,87).

  • cyan value is 87.88%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 87.06%

CMYK: (88,67,0,87)
C88M67Y0K87 (88%, 67%, 0%, 87%)
(0.88 / 0.67 / 0.00 / 0.87)

CMYK percentages

%87.88
%66.67
%0
%87.06

Codes

Color #040B21 in popluar color models

04 0B 21
RGB 4 11 33
HSL 226° 78.38% 7.25%
HSB/HSV 226° 87.88% 12.94%
CMYK 87.88% 66.67% 0.00%
87.06%

Color #040B21 in popluar number systems.

HEX 04 0B 21
Decimal 4 11 33
Binary 100 1011 100001
Octal 4 13 41

Shades and tints

Shades of #040B21

#040B21
(4,11,33)
#040A1E
(4,10,30)
#04091B
(4,9,27)
#040818
(4,8,24)
#040715
(4,7,21)
#040612
(4,6,18)
#04050F
(4,5,15)
#04040C
(4,4,12)
#040309
(4,3,9)
#040206
(4,2,6)
#040103
(4,1,3)
#000000
(0,0,0)

Tints of #040B21

#040B21
(4,11,33)
#1A2135
(26,33,53)
#303749
(48,55,73)
#464D5D
(70,77,93)
#5C6371
(92,99,113)
#727985
(114,121,133)
#888F99
(136,143,153)
#9EA5AD
(158,165,173)
#B4BBC1
(180,187,193)
#CAD1D5
(202,209,213)
#E0E7E9
(224,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040B21 color. Also use rgb(4,11,33) instead hex code.

Text Font Color

.myTextColor { color: #040B21; }

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

This text font color is #040B21.

Background Color

.myBgColor { background-color: #040B21; }

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

This div background color is #040B21.

Border color

.myBorderColor { border: 1px solid #040B21; }

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

This div border color is #040B21.

Opacity

.myOpacity80 { color: #040B21; opacity: 0.8; }

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

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

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

This text has shadow with #040B21 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040B21.

Preview

Color preview on black background

This text has color #040B21 on black background.


Color preview on white background

This text has color #040B21 on white background.


Black color preview on #040B21 background

This text has black color on #040B21 background.


White color preview on #040B21 background

This text has white color on #040B21 background.


Related colors

Complementary color

Complementary color for #hex is #FBF4DE.


I love getcolorcode.com

Triadic colors

1 #21040B and #0B2104 with #040B21 are triadic colors.

2 #210B04 and #0B0421 with #040B21 are triadic colors.