COLOR #42172A

HEX: #42172A
RGB: (66,23,42)

Color info

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

RGB color model

#42172A color RGB value is (66,23,42).

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

RGB channels and saturation

R 66 of 255 = 26%
G 23 of 255 = 9%
B 42 of 255 = 16%

66
23
42

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

Portions of RGB colors in percentages

R + G + B =
66 + 23 + 42 = 131 (100%)
R 66 of 131 ~ 50.38%
G 23 of 131 ~ 17.56%
B 42 of 131 ~ 32.06%

%50.38
%17.56
%32.06

CMYK color model

#42172A color CMYK value is (0,65,36,74).

  • cyan value is 0.00%
  • magenta value is 65.15%
  • yellow value is 36.36%
  • key color value is 74.12%
CMYK:
(0,65,36,74)
C0M65Y36K74 
(0%,65%,36%,74%)
(0.00/0.65/0.36/0.74)	

CMYK percentages

%0
%65.15
%36.36
%74.12

Codes

Color #42172A in popluar color models

42172A
RGB662342
HSL333°48.31%17.45%
HSB/HSV333°65.15%25.88%
CMYK0.00%65.15%36.36%
74.12%

Color #42172A in popluar number systems.

HEX42172A
Decimal662342
Binary100001010111101010
Octal1022752

Shades and tints

Shades of #42172A

#42172A
(66,23,42)
#3C1527
(60,21,39)
#361324
(54,19,36)
#301121
(48,17,33)
#2A0F1E
(42,15,30)
#240D1B
(36,13,27)
#1E0B18
(30,11,24)
#180915
(24,9,21)
#120712
(18,7,18)
#0C050F
(12,5,15)
#06030C
(6,3,12)
#000000
(0,0,0)

Tints of #42172A

#42172A
(66,23,42)
#532C3D
(83,44,61)
#644150
(100,65,80)
#755663
(117,86,99)
#866B76
(134,107,118)
#978089
(151,128,137)
#A8959C
(168,149,156)
#B9AAAF
(185,170,175)
#CABFC2
(202,191,194)
#DBD4D5
(219,212,213)
#ECE9E8
(236,233,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42172A; }

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

This text font color is #42172A.


Background Color

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

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

This div background color is #42172A.


Border color

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

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

This div border color is #42172A.


Opacity

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

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

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

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

This text has shadow with #42172A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42172A on black background.


Color preview on white background

This text has color #42172A on white background.



Black color preview on #42172A background

This text has black color on #42172A background.


White color preview on #42172A background

This text has white color on #42172A background.