COLOR #42179C

HEX: #42179C
RGB: (66,23,156)

Color info

#42179C contains mainly blue color. Web safe color of #42179C is #330099 (or #309).

RGB color model

#42179C color RGB value is (66,23,156).

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

RGB channels and saturation

R 66 of 255 = 26%
G 23 of 255 = 9%
B 156 of 255 = 61%

66
23
156

R + G + B ~ 32%. #42179C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 23 + 156 = 245 (100%)
R 66 of 245 ~ 26.94%
G 23 of 245 ~ 9.39%
B 156 of 245 ~ 63.67%

%26.94
%63.67

CMYK color model

#42179C color CMYK value is (58,85,0,39).

  • cyan value is 57.69%
  • magenta value is 85.26%
  • yellow value is 0.00%
  • key color value is 38.82%
CMYK:
(58,85,0,39)
C58M85Y0K39 
(58%,85%,0%,39%)
(0.58/0.85/0.00/0.39)	

CMYK percentages

%57.69
%85.26
%0
%38.82

Codes

Color #42179C in popluar color models

42179C
RGB6623156
HSL259°74.30%35.10%
HSB/HSV259°85.26%61.18%
CMYK57.69%85.26%0.00%
38.82%

Color #42179C in popluar number systems.

HEX42179C
Decimal6623156
Binary10000101011110011100
Octal10227234

Shades and tints

Shades of #42179C

#42179C
(66,23,156)
#3C158E
(60,21,142)
#361380
(54,19,128)
#301172
(48,17,114)
#2A0F64
(42,15,100)
#240D56
(36,13,86)
#1E0B48
(30,11,72)
#18093A
(24,9,58)
#12072C
(18,7,44)
#0C051E
(12,5,30)
#060310
(6,3,16)
#000000
(0,0,0)

Tints of #42179C

#42179C
(66,23,156)
#532CA5
(83,44,165)
#6441AE
(100,65,174)
#7556B7
(117,86,183)
#866BC0
(134,107,192)
#9780C9
(151,128,201)
#A895D2
(168,149,210)
#B9AADB
(185,170,219)
#CABFE4
(202,191,228)
#DBD4ED
(219,212,237)
#ECE9F6
(236,233,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42179C color. Also use rgb(66,23,156) instead hex code.

Text Font Color

.myTextColor { color: #42179C; }

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

This text font color is #42179C.


Background Color

.myBgColor { background-color: #42179C; }

<div style="background-color:#42179C">Inner text</div>

This div background color is #42179C.


Border color

.myBorderColor { border: 1px solid #42179C; }

<div style="border:3px solid #42179C">Div</div>

This div border color is #42179C.


Opacity

.myOpacity80 { color: #42179C; opacity: 0.8; }

<p style="color:#42179C;opacity:0.8;">80%</p>

Text with #42179C 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 #42179C;}

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

This text has shadow with #42179C color.

.textShadow {text-shadow: 3px 3px 1px #42179C, 3px 3px 1px red;}

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

This text has shadow with #42179C primary color and red secondary color.


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

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

This text has shadow with #42179C and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42179C on black background.


Color preview on white background

This text has color #42179C on white background.



Black color preview on #42179C background

This text has black color on #42179C background.


White color preview on #42179C background

This text has white color on #42179C background.