COLOR #400D18

HEX: #400D18
RGB: (64,13,24)

Color info

#400D18 contains red, green and blue colors in about the same proportion. Web safe color of #400D18 is #330000 (or #300).

RGB color model

#400D18 color RGB value is (64,13,24).

  • red value is 64;
  • green value is 13;
  • blue value is 24.
RGB:
(64,13,24)
(25%,5%,9%)

RGB channels and saturation

R 64 of 255 = 25%
G 13 of 255 = 5%
B 24 of 255 = 9%

64
13
24

R + G + B ~ 13%. #400D18 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 13 + 24 = 101 (100%)
R 64 of 101 ~ 63.37%
G 13 of 101 ~ 12.87%
B 24 of 101 ~ 23.76%

%63.37
%12.87
%23.76

CMYK color model

#400D18 color CMYK value is (0,80,63,75).

  • cyan value is 0.00%
  • magenta value is 79.69%
  • yellow value is 62.50%
  • key color value is 74.90%
CMYK:
(0,80,63,75)
C0M80Y63K75 
(0%,80%,63%,75%)
(0.00/0.80/0.63/0.75)	

CMYK percentages

%0
%79.69
%62.5
%74.9

Codes

Color #400D18 in popluar color models

400D18
RGB641324
HSL347°66.23%15.10%
HSB/HSV347°79.69%25.10%
CMYK0.00%79.69%62.50%
74.90%

Color #400D18 in popluar number systems.

HEX400D18
Decimal641324
Binary1000000110111000
Octal1001530

Shades and tints

Shades of #400D18

#400D18
(64,13,24)
#3B0C16
(59,12,22)
#360B14
(54,11,20)
#310A12
(49,10,18)
#2C0910
(44,9,16)
#27080E
(39,8,14)
#22070C
(34,7,12)
#1D060A
(29,6,10)
#180508
(24,5,8)
#130406
(19,4,6)
#0E0304
(14,3,4)
#000000
(0,0,0)

Tints of #400D18

#400D18
(64,13,24)
#51232D
(81,35,45)
#623942
(98,57,66)
#734F57
(115,79,87)
#84656C
(132,101,108)
#957B81
(149,123,129)
#A69196
(166,145,150)
#B7A7AB
(183,167,171)
#C8BDC0
(200,189,192)
#D9D3D5
(217,211,213)
#EAE9EA
(234,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #400D18 color. Also use rgb(64,13,24) instead hex code.

Text Font Color

.myTextColor { color: #400D18; }

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

This text font color is #400D18.


Background Color

.myBgColor { background-color: #400D18; }

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

This div background color is #400D18.


Border color

.myBorderColor { border: 1px solid #400D18; }

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

This div border color is #400D18.


Opacity

.myOpacity80 { color: #400D18; opacity: 0.8; }

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

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

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

This text has shadow with #400D18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #400D18 on black background.


Color preview on white background

This text has color #400D18 on white background.



Black color preview on #400D18 background

This text has black color on #400D18 background.


White color preview on #400D18 background

This text has white color on #400D18 background.