COLOR #402C28

HEX: #402C28
RGB: (64,44,40)

Color info

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

RGB color model

#402C28 color RGB value is (64,44,40).

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

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 40 of 255 = 16%

64
44
40

R + G + B ~ 19%. #402C28 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 44 + 40 = 148 (100%)
R 64 of 148 ~ 43.24%
G 44 of 148 ~ 29.73%
B 40 of 148 ~ 27.03%

%43.24
%29.73
%27.03

CMYK color model

#402C28 color CMYK value is (0,31,38,75).

  • cyan value is 0.00%
  • magenta value is 31.25%
  • yellow value is 37.50%
  • key color value is 74.90%
CMYK:
(0,31,38,75)
C0M31Y38K75 
(0%,31%,38%,75%)
(0.00/0.31/0.38/0.75)	

CMYK percentages

%0
%31.25
%37.5
%74.9

Codes

Color #402C28 in popluar color models

402C28
RGB644440
HSL10°23.08%20.39%
HSB/HSV10°37.50%25.10%
CMYK0.00%31.25%37.50%
74.90%

Color #402C28 in popluar number systems.

HEX402C28
Decimal644440
Binary1000000101100101000
Octal1005450

Shades and tints

Shades of #402C28

#402C28
(64,44,40)
#3B2825
(59,40,37)
#362422
(54,36,34)
#31201F
(49,32,31)
#2C1C1C
(44,28,28)
#271819
(39,24,25)
#221416
(34,20,22)
#1D1013
(29,16,19)
#180C10
(24,12,16)
#13080D
(19,8,13)
#0E040A
(14,4,10)
#000000
(0,0,0)

Tints of #402C28

#402C28
(64,44,40)
#513F3B
(81,63,59)
#62524E
(98,82,78)
#736561
(115,101,97)
#847874
(132,120,116)
#958B87
(149,139,135)
#A69E9A
(166,158,154)
#B7B1AD
(183,177,173)
#C8C4C0
(200,196,192)
#D9D7D3
(217,215,211)
#EAEAE6
(234,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402C28; }

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

This text font color is #402C28.


Background Color

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

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

This div background color is #402C28.


Border color

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

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

This div border color is #402C28.


Opacity

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

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

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

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

This text has shadow with #402C28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402C28 on black background.


Color preview on white background

This text has color #402C28 on white background.



Black color preview on #402C28 background

This text has black color on #402C28 background.


White color preview on #402C28 background

This text has white color on #402C28 background.