COLOR #403340

HEX: #403340 RGB: (64,51,64)

Color info

#403340 contains red, green and blue colors in about the same proportion. Web safe color of #403340 is #333333 (or #333).

RGB color model

#403340 color RGB value is (64,51,64).

RGB: (64,51,64) (25%, 20%, 25%)

RGB channels and saturation

R 64 of 255 = 25%
G 51 of 255 = 20%
B 64 of 255 = 25%

64
51
64

R + G + B ~ 23%. #403340 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 51 + 64 = 179 (100%)
R 64 of 179 ~ 35.75%
G 51 of 179 ~ 28.49%
B 64 of 179 ~ 35.75'%

%35.75
%28.49
%35.75

CMYK color model

#403340 color CMYK value is (0,20,0,75).

  • cyan value is 0.00%
  • magenta value is 20.31%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (0,20,0,75)
C0M20Y0K75 (0%, 20%, 0%, 75%)
(0.00 / 0.20 / 0.00 / 0.75)

CMYK percentages

%0
%20.31
%0
%74.9

Codes

Color #403340 in popluar color models

40 33 40
RGB 64 51 64
HSL 300° 11.30% 22.55%
HSB/HSV 300° 20.31% 25.10%
CMYK 0.00% 20.31% 0.00%
74.90%

Color #403340 in popluar number systems.

HEX 40 33 40
Decimal 64 51 64
Binary 1000000 110011 1000000
Octal 100 63 100

Shades and tints

Shades of #403340

#403340
(64,51,64)
#3B2F3B
(59,47,59)
#362B36
(54,43,54)
#312731
(49,39,49)
#2C232C
(44,35,44)
#271F27
(39,31,39)
#221B22
(34,27,34)
#1D171D
(29,23,29)
#181318
(24,19,24)
#130F13
(19,15,19)
#0E0B0E
(14,11,14)
#000000
(0,0,0)

Tints of #403340

#403340
(64,51,64)
#514551
(81,69,81)
#625762
(98,87,98)
#736973
(115,105,115)
#847B84
(132,123,132)
#958D95
(149,141,149)
#A69FA6
(166,159,166)
#B7B1B7
(183,177,183)
#C8C3C8
(200,195,200)
#D9D5D9
(217,213,217)
#EAE7EA
(234,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #403340; }

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

This text font color is #403340.

Background Color

.myBgColor { background-color: #403340; }

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

This div background color is #403340.

Border color

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

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

This div border color is #403340.

Opacity

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

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

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

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

This text has shadow with #403340 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #403340.

Preview

Color preview on black background

This text has color #403340 on black background.


Color preview on white background

This text has color #403340 on white background.


Black color preview on #403340 background

This text has black color on #403340 background.


White color preview on #403340 background

This text has white color on #403340 background.


Related colors

Complementary color

Complementary color for #hex is #BFCCBF.


I love getcolorcode.com

Triadic colors

1 #404033 and #334040 with #403340 are triadic colors.

2 #403340 and #334040 with #403340 are triadic colors.