COLOR #040B0F

HEX: #040B0F RGB: (4,11,15)

Color info

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

RGB color model

#040B0F color RGB value is (4,11,15).

RGB: (4,11,15) (2%, 4%, 6%)

RGB channels and saturation

R 4 of 255 = 2%
G 11 of 255 = 4%
B 15 of 255 = 6%

4
11
15

R + G + B ~ 4%. #040B0F is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 11 + 15 = 30 (100%)
R 4 of 30 ~ 13.33%
G 11 of 30 ~ 36.67%
B 15 of 30 ~ 50'%

%13.33
%36.67
%50

CMYK color model

#040B0F color CMYK value is (73,27,0,94).

  • cyan value is 73.33%
  • magenta value is 26.67%
  • yellow value is 0.00%
  • key color value is 94.12%

CMYK: (73,27,0,94)
C73M27Y0K94 (73%, 27%, 0%, 94%)
(0.73 / 0.27 / 0.00 / 0.94)

CMYK percentages

%73.33
%26.67
%0
%94.12

Codes

Color #040B0F in popluar color models

04 0B 0F
RGB 4 11 15
HSL 202° 57.89% 3.73%
HSB/HSV 202° 73.33% 5.88%
CMYK 73.33% 26.67% 0.00%
94.12%

Color #040B0F in popluar number systems.

HEX 04 0B 0F
Decimal 4 11 15
Binary 100 1011 1111
Octal 4 13 17

Shades and tints

Shades of #040B0F

#040B0F
(4,11,15)
#040A0E
(4,10,14)
#04090D
(4,9,13)
#04080C
(4,8,12)
#04070B
(4,7,11)
#04060A
(4,6,10)
#040509
(4,5,9)
#040408
(4,4,8)
#040307
(4,3,7)
#040206
(4,2,6)
#040105
(4,1,5)
#000000
(0,0,0)

Tints of #040B0F

#040B0F
(4,11,15)
#1A2124
(26,33,36)
#303739
(48,55,57)
#464D4E
(70,77,78)
#5C6363
(92,99,99)
#727978
(114,121,120)
#888F8D
(136,143,141)
#9EA5A2
(158,165,162)
#B4BBB7
(180,187,183)
#CAD1CC
(202,209,204)
#E0E7E1
(224,231,225)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040B0F; }

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

This text font color is #040B0F.

Background Color

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

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

This div background color is #040B0F.

Border color

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

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

This div border color is #040B0F.

Opacity

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

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

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

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

This text has shadow with #040B0F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040B0F.

Preview

Color preview on black background

This text has color #040B0F on black background.


Color preview on white background

This text has color #040B0F on white background.


Black color preview on #040B0F background

This text has black color on #040B0F background.


White color preview on #040B0F background

This text has white color on #040B0F background.


Related colors

Complementary color

Complementary color for #hex is #FBF4F0.


I love getcolorcode.com

Triadic colors

1 #0F040B and #0B0F04 with #040B0F are triadic colors.

2 #0F0B04 and #0B040F with #040B0F are triadic colors.