COLOR #400318

HEX: #400318 RGB: (64,3,24)

Color info

#400318 contains mainly red and blue colors. Web safe color of #400318 is #330000 (or #300).

RGB color model

#400318 color RGB value is (64,3,24).

RGB: (64,3,24) (25%, 1%, 9%)

RGB channels and saturation

R 64 of 255 = 25%
G 3 of 255 = 1%
B 24 of 255 = 9%

64
3
24

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

Portions of RGB colors in percentages

R + G + B = 64 + 3 + 24 = 91 (100%)
R 64 of 91 ~ 70.33%
G 3 of 91 ~ 3.3%
B 24 of 91 ~ 26.37'%

%70.33
%26.37

CMYK color model

#400318 color CMYK value is (0,95,63,75).

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

CMYK: (0,95,63,75)
C0M95Y63K75 (0%, 95%, 63%, 75%)
(0.00 / 0.95 / 0.63 / 0.75)

CMYK percentages

%0
%95.31
%62.5
%74.9

Codes

Color #400318 in popluar color models

40 03 18
RGB 64 3 24
HSL 339° 91.04% 13.14%
HSB/HSV 339° 95.31% 25.10%
CMYK 0.00% 95.31% 62.50%
74.90%

Color #400318 in popluar number systems.

HEX 40 03 18
Decimal 64 3 24
Binary 1000000 11 11000
Octal 100 3 30

Shades and tints

Shades of #400318

#400318
(64,3,24)
#3B0316
(59,3,22)
#360314
(54,3,20)
#310312
(49,3,18)
#2C0310
(44,3,16)
#27030E
(39,3,14)
#22030C
(34,3,12)
#1D030A
(29,3,10)
#180308
(24,3,8)
#130306
(19,3,6)
#0E0304
(14,3,4)
#000000
(0,0,0)

Tints of #400318

#400318
(64,3,24)
#51192D
(81,25,45)
#622F42
(98,47,66)
#734557
(115,69,87)
#845B6C
(132,91,108)
#957181
(149,113,129)
#A68796
(166,135,150)
#B79DAB
(183,157,171)
#C8B3C0
(200,179,192)
#D9C9D5
(217,201,213)
#EADFEA
(234,223,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #400318; }

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

This text font color is #400318.

Background Color

.myBgColor { background-color: #400318; }

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

This div background color is #400318.

Border color

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

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

This div border color is #400318.

Opacity

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

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

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

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

This text has shadow with #400318 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #400318.

Preview

Color preview on black background

This text has color #400318 on black background.


Color preview on white background

This text has color #400318 on white background.


Black color preview on #400318 background

This text has black color on #400318 background.


White color preview on #400318 background

This text has white color on #400318 background.


Related colors

Complementary color

Complementary color for #hex is #BFFCE7.


I love getcolorcode.com

Triadic colors

1 #184003 and #031840 with #400318 are triadic colors.

2 #180340 and #034018 with #400318 are triadic colors.