COLOR #42176F

HEX: #42176F
RGB: (66,23,111)

Color info

#42176F contains mainly red and blue colors. Web safe color of #42176F is #330066 (or #306).

RGB color model

#42176F color RGB value is (66,23,111).

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

RGB channels and saturation

R 66 of 255 = 26%
G 23 of 255 = 9%
B 111 of 255 = 44%

66
23
111

R + G + B ~ 26%. #42176F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 23 + 111 = 200 (100%)
R 66 of 200 ~ 33%
G 23 of 200 ~ 11.5%
B 111 of 200 ~ 55.5%

%33
%11.5
%55.5

CMYK color model

#42176F color CMYK value is (41,79,0,56).

  • cyan value is 40.54%
  • magenta value is 79.28%
  • yellow value is 0.00%
  • key color value is 56.47%
CMYK:
(41,79,0,56)
C41M79Y0K56 
(41%,79%,0%,56%)
(0.41/0.79/0.00/0.56)	

CMYK percentages

%40.54
%79.28
%0
%56.47

Codes

Color #42176F in popluar color models

42176F
RGB6623111
HSL269°65.67%26.27%
HSB/HSV269°79.28%43.53%
CMYK40.54%79.28%0.00%
56.47%

Color #42176F in popluar number systems.

HEX42176F
Decimal6623111
Binary1000010101111101111
Octal10227157

Shades and tints

Shades of #42176F

#42176F
(66,23,111)
#3C1565
(60,21,101)
#36135B
(54,19,91)
#301151
(48,17,81)
#2A0F47
(42,15,71)
#240D3D
(36,13,61)
#1E0B33
(30,11,51)
#180929
(24,9,41)
#12071F
(18,7,31)
#0C0515
(12,5,21)
#06030B
(6,3,11)
#000000
(0,0,0)

Tints of #42176F

#42176F
(66,23,111)
#532C7C
(83,44,124)
#644189
(100,65,137)
#755696
(117,86,150)
#866BA3
(134,107,163)
#9780B0
(151,128,176)
#A895BD
(168,149,189)
#B9AACA
(185,170,202)
#CABFD7
(202,191,215)
#DBD4E4
(219,212,228)
#ECE9F1
(236,233,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42176F color. Also use rgb(66,23,111) instead hex code.

Text Font Color

.myTextColor { color: #42176F; }

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

This text font color is #42176F.


Background Color

.myBgColor { background-color: #42176F; }

<div style="background-color:#42176F">Inner text</div>

This div background color is #42176F.


Border color

.myBorderColor { border: 1px solid #42176F; }

<div style="border:3px solid #42176F">Div</div>

This div border color is #42176F.


Opacity

.myOpacity80 { color: #42176F; opacity: 0.8; }

<p style="color:#42176F;opacity:0.8;">80%</p>

Text with #42176F 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 #42176F;}

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

This text has shadow with #42176F color.

.textShadow {text-shadow: 3px 3px 1px #42176F, 3px 3px 1px red;}

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

This text has shadow with #42176F primary color and red secondary color.


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

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

This text has shadow with #42176F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42176F on black background.


Color preview on white background

This text has color #42176F on white background.



Black color preview on #42176F background

This text has black color on #42176F background.


White color preview on #42176F background

This text has white color on #42176F background.