COLOR #42271D

HEX: #42271D
RGB: (66,39,29)

Color info

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

RGB color model

#42271D color RGB value is (66,39,29).

  • red value is 66;
  • green value is 39;
  • blue value is 29.
RGB:
(66,39,29)
(26%,15%,11%)

RGB channels and saturation

R 66 of 255 = 26%
G 39 of 255 = 15%
B 29 of 255 = 11%

66
39
29

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

Portions of RGB colors in percentages

R + G + B =
66 + 39 + 29 = 134 (100%)
R 66 of 134 ~ 49.25%
G 39 of 134 ~ 29.1%
B 29 of 134 ~ 21.64%

%49.25
%29.1
%21.64

CMYK color model

#42271D color CMYK value is (0,41,56,74).

  • cyan value is 0.00%
  • magenta value is 40.91%
  • yellow value is 56.06%
  • key color value is 74.12%
CMYK:
(0,41,56,74)
C0M41Y56K74 
(0%,41%,56%,74%)
(0.00/0.41/0.56/0.74)	

CMYK percentages

%0
%40.91
%56.06
%74.12

Codes

Color #42271D in popluar color models

42271D
RGB663929
HSL16°38.95%18.63%
HSB/HSV16°56.06%25.88%
CMYK0.00%40.91%56.06%
74.12%

Color #42271D in popluar number systems.

HEX42271D
Decimal663929
Binary100001010011111101
Octal1024735

Shades and tints

Shades of #42271D

#42271D
(66,39,29)
#3C241B
(60,36,27)
#362119
(54,33,25)
#301E17
(48,30,23)
#2A1B15
(42,27,21)
#241813
(36,24,19)
#1E1511
(30,21,17)
#18120F
(24,18,15)
#120F0D
(18,15,13)
#0C0C0B
(12,12,11)
#060909
(6,9,9)
#000000
(0,0,0)

Tints of #42271D

#42271D
(66,39,29)
#533A31
(83,58,49)
#644D45
(100,77,69)
#756059
(117,96,89)
#86736D
(134,115,109)
#978681
(151,134,129)
#A89995
(168,153,149)
#B9ACA9
(185,172,169)
#CABFBD
(202,191,189)
#DBD2D1
(219,210,209)
#ECE5E5
(236,229,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42271D color. Also use rgb(66,39,29) instead hex code.

Text Font Color

.myTextColor { color: #42271D; }

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

This text font color is #42271D.


Background Color

.myBgColor { background-color: #42271D; }

<div style="background-color:#42271D">Inner text</div>

This div background color is #42271D.


Border color

.myBorderColor { border: 1px solid #42271D; }

<div style="border:3px solid #42271D">Div</div>

This div border color is #42271D.


Opacity

.myOpacity80 { color: #42271D; opacity: 0.8; }

<p style="color:#42271D;opacity:0.8;">80%</p>

Text with #42271D 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 #42271D;}

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

This text has shadow with #42271D color.

.textShadow {text-shadow: 3px 3px 1px #42271D, 3px 3px 1px red;}

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

This text has shadow with #42271D primary color and red secondary color.


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

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

This text has shadow with #42271D and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42271D on black background.


Color preview on white background

This text has color #42271D on white background.



Black color preview on #42271D background

This text has black color on #42271D background.


White color preview on #42271D background

This text has white color on #42271D background.