COLOR #42172E

HEX: #42172E RGB: (66,23,46)

Color info

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

RGB color model

#42172E color RGB value is (66,23,46).

RGB: (66,23,46) (26%, 9%, 18%)

RGB channels and saturation

R 66 of 255 = 26%
G 23 of 255 = 9%
B 46 of 255 = 18%

66
23
46

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

Portions of RGB colors in percentages

R + G + B = 66 + 23 + 46 = 135 (100%)
R 66 of 135 ~ 48.89%
G 23 of 135 ~ 17.04%
B 46 of 135 ~ 34.07'%

%48.89
%17.04
%34.07

CMYK color model

#42172E color CMYK value is (0,65,30,74).

  • cyan value is 0.00%
  • magenta value is 65.15%
  • yellow value is 30.30%
  • key color value is 74.12%

CMYK: (0,65,30,74)
C0M65Y30K74 (0%, 65%, 30%, 74%)
(0.00 / 0.65 / 0.30 / 0.74)

CMYK percentages

%0
%65.15
%30.3
%74.12

Codes

Color #42172E in popluar color models

42 17 2E
RGB 66 23 46
HSL 328° 48.31% 17.45%
HSB/HSV 328° 65.15% 25.88%
CMYK 0.00% 65.15% 30.30%
74.12%

Color #42172E in popluar number systems.

HEX 42 17 2E
Decimal 66 23 46
Binary 1000010 10111 101110
Octal 102 27 56

Shades and tints

Shades of #42172E

#42172E
(66,23,46)
#3C152A
(60,21,42)
#361326
(54,19,38)
#301122
(48,17,34)
#2A0F1E
(42,15,30)
#240D1A
(36,13,26)
#1E0B16
(30,11,22)
#180912
(24,9,18)
#12070E
(18,7,14)
#0C050A
(12,5,10)
#060306
(6,3,6)
#000000
(0,0,0)

Tints of #42172E

#42172E
(66,23,46)
#532C41
(83,44,65)
#644154
(100,65,84)
#755667
(117,86,103)
#866B7A
(134,107,122)
#97808D
(151,128,141)
#A895A0
(168,149,160)
#B9AAB3
(185,170,179)
#CABFC6
(202,191,198)
#DBD4D9
(219,212,217)
#ECE9EC
(236,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42172E; }

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

This text font color is #42172E.

Background Color

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

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

This div background color is #42172E.

Border color

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

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

This div border color is #42172E.

Opacity

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

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

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

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

This text has shadow with #42172E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42172E.

Preview

Color preview on black background

This text has color #42172E on black background.


Color preview on white background

This text has color #42172E on white background.


Black color preview on #42172E background

This text has black color on #42172E background.


White color preview on #42172E background

This text has white color on #42172E background.


Related colors

Complementary color

Complementary color for #hex is #BDE8D1.


I love getcolorcode.com

Triadic colors

1 #2E4217 and #172E42 with #42172E are triadic colors.

2 #2E1742 and #17422E with #42172E are triadic colors.