COLOR #403951

HEX: #403951
RGB: (64,57,81)

Color info

#403951 contains red, green and blue colors in about the same proportion. Web safe color of #403951 is #333366 (or #336).

RGB color model

#403951 color RGB value is (64,57,81).

  • red value is 64;
  • green value is 57;
  • blue value is 81.
RGB:
(64,57,81)
(25%,22%,32%)

RGB channels and saturation

R 64 of 255 = 25%
G 57 of 255 = 22%
B 81 of 255 = 32%

64
57
81

R + G + B ~ 26%. #403951 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 57 + 81 = 202 (100%)
R 64 of 202 ~ 31.68%
G 57 of 202 ~ 28.22%
B 81 of 202 ~ 40.1%

%31.68
%28.22
%40.1

CMYK color model

#403951 color CMYK value is (21,30,0,68).

  • cyan value is 20.99%
  • magenta value is 29.63%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(21,30,0,68)
C21M30Y0K68 
(21%,30%,0%,68%)
(0.21/0.30/0.00/0.68)	

CMYK percentages

%20.99
%29.63
%0
%68.24

Codes

Color #403951 in popluar color models

403951
RGB645781
HSL258°17.39%27.06%
HSB/HSV258°29.63%31.76%
CMYK20.99%29.63%0.00%
68.24%

Color #403951 in popluar number systems.

HEX403951
Decimal645781
Binary10000001110011010001
Octal10071121

Shades and tints

Shades of #403951

#403951
(64,57,81)
#3B344A
(59,52,74)
#362F43
(54,47,67)
#312A3C
(49,42,60)
#2C2535
(44,37,53)
#27202E
(39,32,46)
#221B27
(34,27,39)
#1D1620
(29,22,32)
#181119
(24,17,25)
#130C12
(19,12,18)
#0E070B
(14,7,11)
#000000
(0,0,0)

Tints of #403951

#403951
(64,57,81)
#514B60
(81,75,96)
#625D6F
(98,93,111)
#736F7E
(115,111,126)
#84818D
(132,129,141)
#95939C
(149,147,156)
#A6A5AB
(166,165,171)
#B7B7BA
(183,183,186)
#C8C9C9
(200,201,201)
#D9DBD8
(217,219,216)
#EAEDE7
(234,237,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #403951 color. Also use rgb(64,57,81) instead hex code.

Text Font Color

.myTextColor { color: #403951; }

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

This text font color is #403951.


Background Color

.myBgColor { background-color: #403951; }

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

This div background color is #403951.


Border color

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

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

This div border color is #403951.


Opacity

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

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

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

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

This text has shadow with #403951 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #403951 on black background.


Color preview on white background

This text has color #403951 on white background.



Black color preview on #403951 background

This text has black color on #403951 background.


White color preview on #403951 background

This text has white color on #403951 background.