COLOR #42174B

HEX: #42174B
RGB: (66,23,75)

Color info

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

RGB color model

#42174B color RGB value is (66,23,75).

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

RGB channels and saturation

R 66 of 255 = 26%
G 23 of 255 = 9%
B 75 of 255 = 29%

66
23
75

R + G + B ~ 21%. #42174B is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 23 + 75 = 164 (100%)
R 66 of 164 ~ 40.24%
G 23 of 164 ~ 14.02%
B 75 of 164 ~ 45.73%

%40.24
%14.02
%45.73

CMYK color model

#42174B color CMYK value is (12,69,0,71).

  • cyan value is 12.00%
  • magenta value is 69.33%
  • yellow value is 0.00%
  • key color value is 70.59%
CMYK:
(12,69,0,71)
C12M69Y0K71 
(12%,69%,0%,71%)
(0.12/0.69/0.00/0.71)	

CMYK percentages

%12
%69.33
%0
%70.59

Codes

Color #42174B in popluar color models

42174B
RGB662375
HSL290°53.06%19.22%
HSB/HSV290°69.33%29.41%
CMYK12.00%69.33%0.00%
70.59%

Color #42174B in popluar number systems.

HEX42174B
Decimal662375
Binary1000010101111001011
Octal10227113

Shades and tints

Shades of #42174B

#42174B
(66,23,75)
#3C1545
(60,21,69)
#36133F
(54,19,63)
#301139
(48,17,57)
#2A0F33
(42,15,51)
#240D2D
(36,13,45)
#1E0B27
(30,11,39)
#180921
(24,9,33)
#12071B
(18,7,27)
#0C0515
(12,5,21)
#06030F
(6,3,15)
#000000
(0,0,0)

Tints of #42174B

#42174B
(66,23,75)
#532C5B
(83,44,91)
#64416B
(100,65,107)
#75567B
(117,86,123)
#866B8B
(134,107,139)
#97809B
(151,128,155)
#A895AB
(168,149,171)
#B9AABB
(185,170,187)
#CABFCB
(202,191,203)
#DBD4DB
(219,212,219)
#ECE9EB
(236,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42174B; }

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

This text font color is #42174B.


Background Color

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

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

This div background color is #42174B.


Border color

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

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

This div border color is #42174B.


Opacity

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

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

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

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

This text has shadow with #42174B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42174B on black background.


Color preview on white background

This text has color #42174B on white background.



Black color preview on #42174B background

This text has black color on #42174B background.


White color preview on #42174B background

This text has white color on #42174B background.