COLOR #40301C

HEX: #40301C
RGB: (64,48,28)

Color info

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

RGB color model

#40301C color RGB value is (64,48,28).

  • red value is 64;
  • green value is 48;
  • blue value is 28.
RGB:
(64,48,28)
(25%,19%,11%)

RGB channels and saturation

R 64 of 255 = 25%
G 48 of 255 = 19%
B 28 of 255 = 11%

64
48
28

R + G + B ~ 18%. #40301C is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 48 + 28 = 140 (100%)
R 64 of 140 ~ 45.71%
G 48 of 140 ~ 34.29%
B 28 of 140 ~ 20%

%45.71
%34.29
%20

CMYK color model

#40301C color CMYK value is (0,25,56,75).

  • cyan value is 0.00%
  • magenta value is 25.00%
  • yellow value is 56.25%
  • key color value is 74.90%
CMYK:
(0,25,56,75)
C0M25Y56K75 
(0%,25%,56%,75%)
(0.00/0.25/0.56/0.75)	

CMYK percentages

%0
%25
%56.25
%74.9

Codes

Color #40301C in popluar color models

40301C
RGB644828
HSL33°39.13%18.04%
HSB/HSV33°56.25%25.10%
CMYK0.00%25.00%56.25%
74.90%

Color #40301C in popluar number systems.

HEX40301C
Decimal644828
Binary100000011000011100
Octal1006034

Shades and tints

Shades of #40301C

#40301C
(64,48,28)
#3B2C1A
(59,44,26)
#362818
(54,40,24)
#312416
(49,36,22)
#2C2014
(44,32,20)
#271C12
(39,28,18)
#221810
(34,24,16)
#1D140E
(29,20,14)
#18100C
(24,16,12)
#130C0A
(19,12,10)
#0E0808
(14,8,8)
#000000
(0,0,0)

Tints of #40301C

#40301C
(64,48,28)
#514230
(81,66,48)
#625444
(98,84,68)
#736658
(115,102,88)
#84786C
(132,120,108)
#958A80
(149,138,128)
#A69C94
(166,156,148)
#B7AEA8
(183,174,168)
#C8C0BC
(200,192,188)
#D9D2D0
(217,210,208)
#EAE4E4
(234,228,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40301C; }

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

This text font color is #40301C.


Background Color

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

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

This div background color is #40301C.


Border color

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

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

This div border color is #40301C.


Opacity

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

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

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

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

This text has shadow with #40301C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40301C on black background.


Color preview on white background

This text has color #40301C on white background.



Black color preview on #40301C background

This text has black color on #40301C background.


White color preview on #40301C background

This text has white color on #40301C background.