COLOR #402515

HEX: #402515
RGB: (64,37,21)

Color info

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

RGB color model

#402515 color RGB value is (64,37,21).

  • red value is 64;
  • green value is 37;
  • blue value is 21.
RGB:
(64,37,21)
(25%,15%,8%)

RGB channels and saturation

R 64 of 255 = 25%
G 37 of 255 = 15%
B 21 of 255 = 8%

64
37
21

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

Portions of RGB colors in percentages

R + G + B =
64 + 37 + 21 = 122 (100%)
R 64 of 122 ~ 52.46%
G 37 of 122 ~ 30.33%
B 21 of 122 ~ 17.21%

%52.46
%30.33
%17.21

CMYK color model

#402515 color CMYK value is (0,42,67,75).

  • cyan value is 0.00%
  • magenta value is 42.19%
  • yellow value is 67.19%
  • key color value is 74.90%
CMYK:
(0,42,67,75)
C0M42Y67K75 
(0%,42%,67%,75%)
(0.00/0.42/0.67/0.75)	

CMYK percentages

%0
%42.19
%67.19
%74.9

Codes

Color #402515 in popluar color models

402515
RGB643721
HSL22°50.59%16.67%
HSB/HSV22°67.19%25.10%
CMYK0.00%42.19%67.19%
74.90%

Color #402515 in popluar number systems.

HEX402515
Decimal643721
Binary100000010010110101
Octal1004525

Shades and tints

Shades of #402515

#402515
(64,37,21)
#3B2214
(59,34,20)
#361F13
(54,31,19)
#311C12
(49,28,18)
#2C1911
(44,25,17)
#271610
(39,22,16)
#22130F
(34,19,15)
#1D100E
(29,16,14)
#180D0D
(24,13,13)
#130A0C
(19,10,12)
#0E070B
(14,7,11)
#000000
(0,0,0)

Tints of #402515

#402515
(64,37,21)
#51382A
(81,56,42)
#624B3F
(98,75,63)
#735E54
(115,94,84)
#847169
(132,113,105)
#95847E
(149,132,126)
#A69793
(166,151,147)
#B7AAA8
(183,170,168)
#C8BDBD
(200,189,189)
#D9D0D2
(217,208,210)
#EAE3E7
(234,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402515; }

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

This text font color is #402515.


Background Color

.myBgColor { background-color: #402515; }

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

This div background color is #402515.


Border color

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

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

This div border color is #402515.


Opacity

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

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

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

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

This text has shadow with #402515 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402515 on black background.


Color preview on white background

This text has color #402515 on white background.



Black color preview on #402515 background

This text has black color on #402515 background.


White color preview on #402515 background

This text has white color on #402515 background.