COLOR #42172B

HEX: #42172B
RGB: (66,23,43)

Color info

#42172B contains red, green and blue colors in about the same proportion. Web safe color of #42172B is #330033 (or #303).

RGB color model

#42172B color RGB value is (66,23,43).

  • red value is 66;
  • green value is 23;
  • blue value is 43.
RGB:
(66,23,43)
(26%,9%,17%)

RGB channels and saturation

R 66 of 255 = 26%
G 23 of 255 = 9%
B 43 of 255 = 17%

66
23
43

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

Portions of RGB colors in percentages

R + G + B =
66 + 23 + 43 = 132 (100%)
R 66 of 132 ~ 50%
G 23 of 132 ~ 17.42%
B 43 of 132 ~ 32.58%

%50
%17.42
%32.58

CMYK color model

#42172B color CMYK value is (0,65,35,74).

  • cyan value is 0.00%
  • magenta value is 65.15%
  • yellow value is 34.85%
  • key color value is 74.12%
CMYK:
(0,65,35,74)
C0M65Y35K74 
(0%,65%,35%,74%)
(0.00/0.65/0.35/0.74)	

CMYK percentages

%0
%65.15
%34.85
%74.12

Codes

Color #42172B in popluar color models

42172B
RGB662343
HSL332°48.31%17.45%
HSB/HSV332°65.15%25.88%
CMYK0.00%65.15%34.85%
74.12%

Color #42172B in popluar number systems.

HEX42172B
Decimal662343
Binary100001010111101011
Octal1022753

Shades and tints

Shades of #42172B

#42172B
(66,23,43)
#3C1528
(60,21,40)
#361325
(54,19,37)
#301122
(48,17,34)
#2A0F1F
(42,15,31)
#240D1C
(36,13,28)
#1E0B19
(30,11,25)
#180916
(24,9,22)
#120713
(18,7,19)
#0C0510
(12,5,16)
#06030D
(6,3,13)
#000000
(0,0,0)

Tints of #42172B

#42172B
(66,23,43)
#532C3E
(83,44,62)
#644151
(100,65,81)
#755664
(117,86,100)
#866B77
(134,107,119)
#97808A
(151,128,138)
#A8959D
(168,149,157)
#B9AAB0
(185,170,176)
#CABFC3
(202,191,195)
#DBD4D6
(219,212,214)
#ECE9E9
(236,233,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42172B color. Also use rgb(66,23,43) instead hex code.

Text Font Color

.myTextColor { color: #42172B; }

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

This text font color is #42172B.


Background Color

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

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

This div background color is #42172B.


Border color

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

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

This div border color is #42172B.


Opacity

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

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

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

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

This text has shadow with #42172B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42172B on black background.


Color preview on white background

This text has color #42172B on white background.



Black color preview on #42172B background

This text has black color on #42172B background.


White color preview on #42172B background

This text has white color on #42172B background.