COLOR #402915

HEX: #402915 RGB: (64,41,21)

Color info

#402915 contains red, green and blue colors in about the same proportion. Web safe color of #402915 is #333300 (or #330).

RGB color model

#402915 color RGB value is (64,41,21).

RGB: (64,41,21) (25%, 16%, 8%)

RGB channels and saturation

R 64 of 255 = 25%
G 41 of 255 = 16%
B 21 of 255 = 8%

64
41
21

R + G + B ~ 16%. #402915 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 41 + 21 = 126 (100%)
R 64 of 126 ~ 50.79%
G 41 of 126 ~ 32.54%
B 21 of 126 ~ 16.67'%

%50.79
%32.54
%16.67

CMYK color model

#402915 color CMYK value is (0,36,67,75).

  • cyan value is 0.00%
  • magenta value is 35.94%
  • yellow value is 67.19%
  • key color value is 74.90%

CMYK: (0,36,67,75)
C0M36Y67K75 (0%, 36%, 67%, 75%)
(0.00 / 0.36 / 0.67 / 0.75)

CMYK percentages

%0
%35.94
%67.19
%74.9

Codes

Color #402915 in popluar color models

40 29 15
RGB 64 41 21
HSL 28° 50.59% 16.67%
HSB/HSV 28° 67.19% 25.10%
CMYK 0.00% 35.94% 67.19%
74.90%

Color #402915 in popluar number systems.

HEX 40 29 15
Decimal 64 41 21
Binary 1000000 101001 10101
Octal 100 51 25

Shades and tints

Shades of #402915

#402915
(64,41,21)
#3B2614
(59,38,20)
#362313
(54,35,19)
#312012
(49,32,18)
#2C1D11
(44,29,17)
#271A10
(39,26,16)
#22170F
(34,23,15)
#1D140E
(29,20,14)
#18110D
(24,17,13)
#130E0C
(19,14,12)
#0E0B0B
(14,11,11)
#000000
(0,0,0)

Tints of #402915

#402915
(64,41,21)
#513C2A
(81,60,42)
#624F3F
(98,79,63)
#736254
(115,98,84)
#847569
(132,117,105)
#95887E
(149,136,126)
#A69B93
(166,155,147)
#B7AEA8
(183,174,168)
#C8C1BD
(200,193,189)
#D9D4D2
(217,212,210)
#EAE7E7
(234,231,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402915; }

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

This text font color is #402915.

Background Color

.myBgColor { background-color: #402915; }

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

This div background color is #402915.

Border color

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

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

This div border color is #402915.

Opacity

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

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

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

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

This text has shadow with #402915 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402915.

Preview

Color preview on black background

This text has color #402915 on black background.


Color preview on white background

This text has color #402915 on white background.


Black color preview on #402915 background

This text has black color on #402915 background.


White color preview on #402915 background

This text has white color on #402915 background.


Related colors

Complementary color

Complementary color for #hex is #BFD6EA.


I love getcolorcode.com

Triadic colors

1 #154029 and #291540 with #402915 are triadic colors.

2 #152940 and #294015 with #402915 are triadic colors.