COLOR #403C51

HEX: #403C51 RGB: (64,60,81)

Color info

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

RGB color model

#403C51 color RGB value is (64,60,81).

RGB: (64,60,81) (25%, 24%, 32%)

RGB channels and saturation

R 64 of 255 = 25%
G 60 of 255 = 24%
B 81 of 255 = 32%

64
60
81

R + G + B ~ 27%. #403C51 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 60 + 81 = 205 (100%)
R 64 of 205 ~ 31.22%
G 60 of 205 ~ 29.27%
B 81 of 205 ~ 39.51'%

%31.22
%29.27
%39.51

CMYK color model

#403C51 color CMYK value is (21,26,0,68).

  • cyan value is 20.99%
  • magenta value is 25.93%
  • yellow value is 0.00%
  • key color value is 68.24%

CMYK: (21,26,0,68)
C21M26Y0K68 (21%, 26%, 0%, 68%)
(0.21 / 0.26 / 0.00 / 0.68)

CMYK percentages

%20.99
%25.93
%0
%68.24

Codes

Color #403C51 in popluar color models

40 3C 51
RGB 64 60 81
HSL 251° 14.89% 27.65%
HSB/HSV 251° 25.93% 31.76%
CMYK 20.99% 25.93% 0.00%
68.24%

Color #403C51 in popluar number systems.

HEX 40 3C 51
Decimal 64 60 81
Binary 1000000 111100 1010001
Octal 100 74 121

Shades and tints

Shades of #403C51

#403C51
(64,60,81)
#3B374A
(59,55,74)
#363243
(54,50,67)
#312D3C
(49,45,60)
#2C2835
(44,40,53)
#27232E
(39,35,46)
#221E27
(34,30,39)
#1D1920
(29,25,32)
#181419
(24,20,25)
#130F12
(19,15,18)
#0E0A0B
(14,10,11)
#000000
(0,0,0)

Tints of #403C51

#403C51
(64,60,81)
#514D60
(81,77,96)
#625E6F
(98,94,111)
#736F7E
(115,111,126)
#84808D
(132,128,141)
#95919C
(149,145,156)
#A6A2AB
(166,162,171)
#B7B3BA
(183,179,186)
#C8C4C9
(200,196,201)
#D9D5D8
(217,213,216)
#EAE6E7
(234,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #403C51; }

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

This text font color is #403C51.

Background Color

.myBgColor { background-color: #403C51; }

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

This div background color is #403C51.

Border color

.myBorderColor { border: 1px solid #403C51; }

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

This div border color is #403C51.

Opacity

.myOpacity80 { color: #403C51; opacity: 0.8; }

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

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

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

This text has shadow with #403C51 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #403C51.

Preview

Color preview on black background

This text has color #403C51 on black background.


Color preview on white background

This text has color #403C51 on white background.


Black color preview on #403C51 background

This text has black color on #403C51 background.


White color preview on #403C51 background

This text has white color on #403C51 background.


Related colors

Complementary color

Complementary color for #hex is #BFC3AE.


I love getcolorcode.com

Triadic colors

1 #51403C and #3C5140 with #403C51 are triadic colors.

2 #513C40 and #3C4051 with #403C51 are triadic colors.