COLOR #400918

HEX: #400918 RGB: (64,9,24)

Color info

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

RGB color model

#400918 color RGB value is (64,9,24).

RGB: (64,9,24) (25%, 4%, 9%)

RGB channels and saturation

R 64 of 255 = 25%
G 9 of 255 = 4%
B 24 of 255 = 9%

64
9
24

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

Portions of RGB colors in percentages

R + G + B = 64 + 9 + 24 = 97 (100%)
R 64 of 97 ~ 65.98%
G 9 of 97 ~ 9.28%
B 24 of 97 ~ 24.74'%

%65.98
%24.74

CMYK color model

#400918 color CMYK value is (0,86,63,75).

  • cyan value is 0.00%
  • magenta value is 85.94%
  • yellow value is 62.50%
  • key color value is 74.90%

CMYK: (0,86,63,75)
C0M86Y63K75 (0%, 86%, 63%, 75%)
(0.00 / 0.86 / 0.63 / 0.75)

CMYK percentages

%0
%85.94
%62.5
%74.9

Codes

Color #400918 in popluar color models

40 09 18
RGB 64 9 24
HSL 344° 75.34% 14.31%
HSB/HSV 344° 85.94% 25.10%
CMYK 0.00% 85.94% 62.50%
74.90%

Color #400918 in popluar number systems.

HEX 40 09 18
Decimal 64 9 24
Binary 1000000 1001 11000
Octal 100 11 30

Shades and tints

Shades of #400918

#400918
(64,9,24)
#3B0916
(59,9,22)
#360914
(54,9,20)
#310912
(49,9,18)
#2C0910
(44,9,16)
#27090E
(39,9,14)
#22090C
(34,9,12)
#1D090A
(29,9,10)
#180908
(24,9,8)
#130906
(19,9,6)
#0E0904
(14,9,4)
#000000
(0,0,0)

Tints of #400918

#400918
(64,9,24)
#511F2D
(81,31,45)
#623542
(98,53,66)
#734B57
(115,75,87)
#84616C
(132,97,108)
#957781
(149,119,129)
#A68D96
(166,141,150)
#B7A3AB
(183,163,171)
#C8B9C0
(200,185,192)
#D9CFD5
(217,207,213)
#EAE5EA
(234,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #400918; }

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

This text font color is #400918.

Background Color

.myBgColor { background-color: #400918; }

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

This div background color is #400918.

Border color

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

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

This div border color is #400918.

Opacity

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

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

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

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

This text has shadow with #400918 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #400918.

Preview

Color preview on black background

This text has color #400918 on black background.


Color preview on white background

This text has color #400918 on white background.


Black color preview on #400918 background

This text has black color on #400918 background.


White color preview on #400918 background

This text has white color on #400918 background.


Related colors

Complementary color

Complementary color for #hex is #BFF6E7.


I love getcolorcode.com

Triadic colors

1 #184009 and #091840 with #400918 are triadic colors.

2 #180940 and #094018 with #400918 are triadic colors.