COLOR #400D3A

HEX: #400D3A
RGB: (64,13,58)

Color info

#400D3A contains red, green and blue colors in about the same proportion. Web safe color of #400D3A is #330033 (or #303).

RGB color model

#400D3A color RGB value is (64,13,58).

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

RGB channels and saturation

R 64 of 255 = 25%
G 13 of 255 = 5%
B 58 of 255 = 23%

64
13
58

R + G + B ~ 18%. #400D3A is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 13 + 58 = 135 (100%)
R 64 of 135 ~ 47.41%
G 13 of 135 ~ 9.63%
B 58 of 135 ~ 42.96%

%47.41
%9.63
%42.96

CMYK color model

#400D3A color CMYK value is (0,80,9,75).

  • cyan value is 0.00%
  • magenta value is 79.69%
  • yellow value is 9.38%
  • key color value is 74.90%
CMYK:
(0,80,9,75)
C0M80Y9K75 
(0%,80%,9%,75%)
(0.00/0.80/0.09/0.75)	

CMYK percentages

%0
%79.69
%9.38
%74.9

Codes

Color #400D3A in popluar color models

400D3A
RGB641358
HSL307°66.23%15.10%
HSB/HSV307°79.69%25.10%
CMYK0.00%79.69%9.38%
74.90%

Color #400D3A in popluar number systems.

HEX400D3A
Decimal641358
Binary10000001101111010
Octal1001572

Shades and tints

Shades of #400D3A

#400D3A
(64,13,58)
#3B0C35
(59,12,53)
#360B30
(54,11,48)
#310A2B
(49,10,43)
#2C0926
(44,9,38)
#270821
(39,8,33)
#22071C
(34,7,28)
#1D0617
(29,6,23)
#180512
(24,5,18)
#13040D
(19,4,13)
#0E0308
(14,3,8)
#000000
(0,0,0)

Tints of #400D3A

#400D3A
(64,13,58)
#51234B
(81,35,75)
#62395C
(98,57,92)
#734F6D
(115,79,109)
#84657E
(132,101,126)
#957B8F
(149,123,143)
#A691A0
(166,145,160)
#B7A7B1
(183,167,177)
#C8BDC2
(200,189,194)
#D9D3D3
(217,211,211)
#EAE9E4
(234,233,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #400D3A; }

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

This text font color is #400D3A.


Background Color

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

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

This div background color is #400D3A.


Border color

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

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

This div border color is #400D3A.


Opacity

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

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

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

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

This text has shadow with #400D3A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #400D3A on black background.


Color preview on white background

This text has color #400D3A on white background.



Black color preview on #400D3A background

This text has black color on #400D3A background.


White color preview on #400D3A background

This text has white color on #400D3A background.