COLOR #402C17

HEX: #402C17
RGB: (64,44,23)

Color info

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

RGB color model

#402C17 color RGB value is (64,44,23).

  • red value is 64;
  • green value is 44;
  • blue value is 23.
RGB:
(64,44,23)
(25%,17%,9%)

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 23 of 255 = 9%

64
44
23

R + G + B ~ 17%. #402C17 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 44 + 23 = 131 (100%)
R 64 of 131 ~ 48.85%
G 44 of 131 ~ 33.59%
B 23 of 131 ~ 17.56%

%48.85
%33.59
%17.56

CMYK color model

#402C17 color CMYK value is (0,31,64,75).

  • cyan value is 0.00%
  • magenta value is 31.25%
  • yellow value is 64.06%
  • key color value is 74.90%
CMYK:
(0,31,64,75)
C0M31Y64K75 
(0%,31%,64%,75%)
(0.00/0.31/0.64/0.75)	

CMYK percentages

%0
%31.25
%64.06
%74.9

Codes

Color #402C17 in popluar color models

402C17
RGB644423
HSL31°47.13%17.06%
HSB/HSV31°64.06%25.10%
CMYK0.00%31.25%64.06%
74.90%

Color #402C17 in popluar number systems.

HEX402C17
Decimal644423
Binary100000010110010111
Octal1005427

Shades and tints

Shades of #402C17

#402C17
(64,44,23)
#3B2815
(59,40,21)
#362413
(54,36,19)
#312011
(49,32,17)
#2C1C0F
(44,28,15)
#27180D
(39,24,13)
#22140B
(34,20,11)
#1D1009
(29,16,9)
#180C07
(24,12,7)
#130805
(19,8,5)
#0E0403
(14,4,3)
#000000
(0,0,0)

Tints of #402C17

#402C17
(64,44,23)
#513F2C
(81,63,44)
#625241
(98,82,65)
#736556
(115,101,86)
#84786B
(132,120,107)
#958B80
(149,139,128)
#A69E95
(166,158,149)
#B7B1AA
(183,177,170)
#C8C4BF
(200,196,191)
#D9D7D4
(217,215,212)
#EAEAE9
(234,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402C17 color. Also use rgb(64,44,23) instead hex code.

Text Font Color

.myTextColor { color: #402C17; }

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

This text font color is #402C17.


Background Color

.myBgColor { background-color: #402C17; }

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

This div background color is #402C17.


Border color

.myBorderColor { border: 1px solid #402C17; }

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

This div border color is #402C17.


Opacity

.myOpacity80 { color: #402C17; opacity: 0.8; }

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

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

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

This text has shadow with #402C17 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402C17 on black background.


Color preview on white background

This text has color #402C17 on white background.



Black color preview on #402C17 background

This text has black color on #402C17 background.


White color preview on #402C17 background

This text has white color on #402C17 background.