COLOR #400837

HEX: #400837
RGB: (64,8,55)

Color info

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

RGB color model

#400837 color RGB value is (64,8,55).

  • red value is 64;
  • green value is 8;
  • blue value is 55.
RGB:
(64,8,55)
(25%,3%,22%)

RGB channels and saturation

R 64 of 255 = 25%
G 8 of 255 = 3%
B 55 of 255 = 22%

64
8
55

R + G + B ~ 17%. #400837 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 8 + 55 = 127 (100%)
R 64 of 127 ~ 50.39%
G 8 of 127 ~ 6.3%
B 55 of 127 ~ 43.31%

%50.39
%43.31

CMYK color model

#400837 color CMYK value is (0,88,14,75).

  • cyan value is 0.00%
  • magenta value is 87.50%
  • yellow value is 14.06%
  • key color value is 74.90%
CMYK:
(0,88,14,75)
C0M88Y14K75 
(0%,88%,14%,75%)
(0.00/0.88/0.14/0.75)	

CMYK percentages

%0
%87.5
%14.06
%74.9

Codes

Color #400837 in popluar color models

400837
RGB64855
HSL310°77.78%14.12%
HSB/HSV310°87.50%25.10%
CMYK0.00%87.50%14.06%
74.90%

Color #400837 in popluar number systems.

HEX400837
Decimal64855
Binary10000001000110111
Octal1001067

Shades and tints

Shades of #400837

#400837
(64,8,55)
#3B0832
(59,8,50)
#36082D
(54,8,45)
#310828
(49,8,40)
#2C0823
(44,8,35)
#27081E
(39,8,30)
#220819
(34,8,25)
#1D0814
(29,8,20)
#18080F
(24,8,15)
#13080A
(19,8,10)
#0E0805
(14,8,5)
#000000
(0,0,0)

Tints of #400837

#400837
(64,8,55)
#511E49
(81,30,73)
#62345B
(98,52,91)
#734A6D
(115,74,109)
#84607F
(132,96,127)
#957691
(149,118,145)
#A68CA3
(166,140,163)
#B7A2B5
(183,162,181)
#C8B8C7
(200,184,199)
#D9CED9
(217,206,217)
#EAE4EB
(234,228,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #400837; }

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

This text font color is #400837.


Background Color

.myBgColor { background-color: #400837; }

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

This div background color is #400837.


Border color

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

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

This div border color is #400837.


Opacity

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

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

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

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

This text has shadow with #400837 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #400837 on black background.


Color preview on white background

This text has color #400837 on white background.



Black color preview on #400837 background

This text has black color on #400837 background.


White color preview on #400837 background

This text has white color on #400837 background.