COLOR #40271B

HEX: #40271B
RGB: (64,39,27)

Color info

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

RGB color model

#40271B color RGB value is (64,39,27).

  • red value is 64;
  • green value is 39;
  • blue value is 27.
RGB:
(64,39,27)
(25%,15%,11%)

RGB channels and saturation

R 64 of 255 = 25%
G 39 of 255 = 15%
B 27 of 255 = 11%

64
39
27

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

Portions of RGB colors in percentages

R + G + B =
64 + 39 + 27 = 130 (100%)
R 64 of 130 ~ 49.23%
G 39 of 130 ~ 30%
B 27 of 130 ~ 20.77%

%49.23
%30
%20.77

CMYK color model

#40271B color CMYK value is (0,39,58,75).

  • cyan value is 0.00%
  • magenta value is 39.06%
  • yellow value is 57.81%
  • key color value is 74.90%
CMYK:
(0,39,58,75)
C0M39Y58K75 
(0%,39%,58%,75%)
(0.00/0.39/0.58/0.75)	

CMYK percentages

%0
%39.06
%57.81
%74.9

Codes

Color #40271B in popluar color models

40271B
RGB643927
HSL19°40.66%17.84%
HSB/HSV19°57.81%25.10%
CMYK0.00%39.06%57.81%
74.90%

Color #40271B in popluar number systems.

HEX40271B
Decimal643927
Binary100000010011111011
Octal1004733

Shades and tints

Shades of #40271B

#40271B
(64,39,27)
#3B2419
(59,36,25)
#362117
(54,33,23)
#311E15
(49,30,21)
#2C1B13
(44,27,19)
#271811
(39,24,17)
#22150F
(34,21,15)
#1D120D
(29,18,13)
#180F0B
(24,15,11)
#130C09
(19,12,9)
#0E0907
(14,9,7)
#000000
(0,0,0)

Tints of #40271B

#40271B
(64,39,27)
#513A2F
(81,58,47)
#624D43
(98,77,67)
#736057
(115,96,87)
#84736B
(132,115,107)
#95867F
(149,134,127)
#A69993
(166,153,147)
#B7ACA7
(183,172,167)
#C8BFBB
(200,191,187)
#D9D2CF
(217,210,207)
#EAE5E3
(234,229,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40271B color. Also use rgb(64,39,27) instead hex code.

Text Font Color

.myTextColor { color: #40271B; }

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

This text font color is #40271B.


Background Color

.myBgColor { background-color: #40271B; }

<div style="background-color:#40271B">Inner text</div>

This div background color is #40271B.


Border color

.myBorderColor { border: 1px solid #40271B; }

<div style="border:3px solid #40271B">Div</div>

This div border color is #40271B.


Opacity

.myOpacity80 { color: #40271B; opacity: 0.8; }

<p style="color:#40271B;opacity:0.8;">80%</p>

Text with #40271B 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 #40271B;}

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

This text has shadow with #40271B color.

.textShadow {text-shadow: 3px 3px 1px #40271B, 3px 3px 1px red;}

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

This text has shadow with #40271B primary color and red secondary color.


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

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

This text has shadow with #40271B and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40271B on black background.


Color preview on white background

This text has color #40271B on white background.



Black color preview on #40271B background

This text has black color on #40271B background.


White color preview on #40271B background

This text has white color on #40271B background.