COLOR #40402C

HEX: #40402C
RGB: (64,64,44)

Color info

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

RGB color model

#40402C color RGB value is (64,64,44).

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

RGB channels and saturation

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

64
64
44

R + G + B ~ 22%. #40402C is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 64 + 44 = 172 (100%)
R 64 of 172 ~ 37.21%
G 64 of 172 ~ 37.21%
B 44 of 172 ~ 25.58%

%37.21
%37.21
%25.58

CMYK color model

#40402C color CMYK value is (0,0,31,75).

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

CMYK percentages

%0
%0
%31.25
%74.9

Codes

Color #40402C in popluar color models

40402C
RGB646444
HSL60°18.52%21.18%
HSB/HSV60°31.25%25.10%
CMYK0.00%0.00%31.25%
74.90%

Color #40402C in popluar number systems.

HEX40402C
Decimal646444
Binary10000001000000101100
Octal10010054

Shades and tints

Shades of #40402C

#40402C
(64,64,44)
#3B3B28
(59,59,40)
#363624
(54,54,36)
#313120
(49,49,32)
#2C2C1C
(44,44,28)
#272718
(39,39,24)
#222214
(34,34,20)
#1D1D10
(29,29,16)
#18180C
(24,24,12)
#131308
(19,19,8)
#0E0E04
(14,14,4)
#000000
(0,0,0)

Tints of #40402C

#40402C
(64,64,44)
#51513F
(81,81,63)
#626252
(98,98,82)
#737365
(115,115,101)
#848478
(132,132,120)
#95958B
(149,149,139)
#A6A69E
(166,166,158)
#B7B7B1
(183,183,177)
#C8C8C4
(200,200,196)
#D9D9D7
(217,217,215)
#EAEAEA
(234,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40402C; }

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

This text font color is #40402C.


Background Color

.myBgColor { background-color: #40402C; }

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

This div background color is #40402C.


Border color

.myBorderColor { border: 1px solid #40402C; }

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

This div border color is #40402C.


Opacity

.myOpacity80 { color: #40402C; opacity: 0.8; }

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

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

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

This text has shadow with #40402C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40402C on black background.


Color preview on white background

This text has color #40402C on white background.



Black color preview on #40402C background

This text has black color on #40402C background.


White color preview on #40402C background

This text has white color on #40402C background.