COLOR #400812

HEX: #400812 RGB: (64,8,18)

Color info

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

RGB color model

#400812 color RGB value is (64,8,18).

RGB: (64,8,18) (25%, 3%, 7%)

RGB channels and saturation

R 64 of 255 = 25%
G 8 of 255 = 3%
B 18 of 255 = 7%

64
8
18

R + G + B ~ 12%. #400812 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 8 + 18 = 90 (100%)
R 64 of 90 ~ 71.11%
G 8 of 90 ~ 8.89%
B 18 of 90 ~ 20'%

%71.11
%20

CMYK color model

#400812 color CMYK value is (0,88,72,75).

  • cyan value is 0.00%
  • magenta value is 87.50%
  • yellow value is 71.88%
  • key color value is 74.90%

CMYK: (0,88,72,75)
C0M88Y72K75 (0%, 88%, 72%, 75%)
(0.00 / 0.88 / 0.72 / 0.75)

CMYK percentages

%0
%87.5
%71.88
%74.9

Codes

Color #400812 in popluar color models

40 08 12
RGB 64 8 18
HSL 349° 77.78% 14.12%
HSB/HSV 349° 87.50% 25.10%
CMYK 0.00% 87.50% 71.88%
74.90%

Color #400812 in popluar number systems.

HEX 40 08 12
Decimal 64 8 18
Binary 1000000 1000 10010
Octal 100 10 22

Shades and tints

Shades of #400812

#400812
(64,8,18)
#3B0811
(59,8,17)
#360810
(54,8,16)
#31080F
(49,8,15)
#2C080E
(44,8,14)
#27080D
(39,8,13)
#22080C
(34,8,12)
#1D080B
(29,8,11)
#18080A
(24,8,10)
#130809
(19,8,9)
#0E0808
(14,8,8)
#000000
(0,0,0)

Tints of #400812

#400812
(64,8,18)
#511E27
(81,30,39)
#62343C
(98,52,60)
#734A51
(115,74,81)
#846066
(132,96,102)
#95767B
(149,118,123)
#A68C90
(166,140,144)
#B7A2A5
(183,162,165)
#C8B8BA
(200,184,186)
#D9CECF
(217,206,207)
#EAE4E4
(234,228,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #400812 color. Also use rgb(64,8,18) instead hex code.

Text Font Color

.myTextColor { color: #400812; }

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

This text font color is #400812.

Background Color

.myBgColor { background-color: #400812; }

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

This div background color is #400812.

Border color

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

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

This div border color is #400812.

Opacity

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

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

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

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

This text has shadow with #400812 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #400812.

Preview

Color preview on black background

This text has color #400812 on black background.


Color preview on white background

This text has color #400812 on white background.


Black color preview on #400812 background

This text has black color on #400812 background.


White color preview on #400812 background

This text has white color on #400812 background.


Related colors

Complementary color

Complementary color for #hex is #BFF7ED.


I love getcolorcode.com

Triadic colors

1 #124008 and #081240 with #400812 are triadic colors.

2 #120840 and #084012 with #400812 are triadic colors.