COLOR #40302F

HEX: #40302F
RGB: (64,48,47)

Color info

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

RGB color model

#40302F color RGB value is (64,48,47).

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

RGB channels and saturation

R 64 of 255 = 25%
G 48 of 255 = 19%
B 47 of 255 = 18%

64
48
47

R + G + B ~ 21%. #40302F is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 48 + 47 = 159 (100%)
R 64 of 159 ~ 40.25%
G 48 of 159 ~ 30.19%
B 47 of 159 ~ 29.56%

%40.25
%30.19
%29.56

CMYK color model

#40302F color CMYK value is (0,25,27,75).

  • cyan value is 0.00%
  • magenta value is 25.00%
  • yellow value is 26.56%
  • key color value is 74.90%
CMYK:
(0,25,27,75)
C0M25Y27K75 
(0%,25%,27%,75%)
(0.00/0.25/0.27/0.75)	

CMYK percentages

%0
%25
%26.56
%74.9

Codes

Color #40302F in popluar color models

40302F
RGB644847
HSL15.32%21.76%
HSB/HSV26.56%25.10%
CMYK0.00%25.00%26.56%
74.90%

Color #40302F in popluar number systems.

HEX40302F
Decimal644847
Binary1000000110000101111
Octal1006057

Shades and tints

Shades of #40302F

#40302F
(64,48,47)
#3B2C2B
(59,44,43)
#362827
(54,40,39)
#312423
(49,36,35)
#2C201F
(44,32,31)
#271C1B
(39,28,27)
#221817
(34,24,23)
#1D1413
(29,20,19)
#18100F
(24,16,15)
#130C0B
(19,12,11)
#0E0807
(14,8,7)
#000000
(0,0,0)

Tints of #40302F

#40302F
(64,48,47)
#514241
(81,66,65)
#625453
(98,84,83)
#736665
(115,102,101)
#847877
(132,120,119)
#958A89
(149,138,137)
#A69C9B
(166,156,155)
#B7AEAD
(183,174,173)
#C8C0BF
(200,192,191)
#D9D2D1
(217,210,209)
#EAE4E3
(234,228,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40302F color. Also use rgb(64,48,47) instead hex code.

Text Font Color

.myTextColor { color: #40302F; }

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

This text font color is #40302F.


Background Color

.myBgColor { background-color: #40302F; }

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

This div background color is #40302F.


Border color

.myBorderColor { border: 1px solid #40302F; }

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

This div border color is #40302F.


Opacity

.myOpacity80 { color: #40302F; opacity: 0.8; }

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

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

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

This text has shadow with #40302F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40302F on black background.


Color preview on white background

This text has color #40302F on white background.



Black color preview on #40302F background

This text has black color on #40302F background.


White color preview on #40302F background

This text has white color on #40302F background.