COLOR #42178F

HEX: #42178F RGB: (66,23,143)

Color info

#42178F contains mainly blue color. Web safe color of #42178F is #330099 (or #309).

RGB color model

#42178F color RGB value is (66,23,143).

RGB: (66,23,143) (26%, 9%, 56%)

RGB channels and saturation

R 66 of 255 = 26%
G 23 of 255 = 9%
B 143 of 255 = 56%

66
23
143

R + G + B ~ 30%. #42178F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 23 + 143 = 232 (100%)
R 66 of 232 ~ 28.45%
G 23 of 232 ~ 9.91%
B 143 of 232 ~ 61.64'%

%28.45
%61.64

CMYK color model

#42178F color CMYK value is (54,84,0,44).

  • cyan value is 53.85%
  • magenta value is 83.92%
  • yellow value is 0.00%
  • key color value is 43.92%

CMYK: (54,84,0,44)
C54M84Y0K44 (54%, 84%, 0%, 44%)
(0.54 / 0.84 / 0.00 / 0.44)

CMYK percentages

%53.85
%83.92
%0
%43.92

Codes

Color #42178F in popluar color models

42 17 8F
RGB 66 23 143
HSL 262° 72.29% 32.55%
HSB/HSV 262° 83.92% 56.08%
CMYK 53.85% 83.92% 0.00%
43.92%

Color #42178F in popluar number systems.

HEX 42 17 8F
Decimal 66 23 143
Binary 1000010 10111 10001111
Octal 102 27 217

Shades and tints

Shades of #42178F

#42178F
(66,23,143)
#3C1582
(60,21,130)
#361375
(54,19,117)
#301168
(48,17,104)
#2A0F5B
(42,15,91)
#240D4E
(36,13,78)
#1E0B41
(30,11,65)
#180934
(24,9,52)
#120727
(18,7,39)
#0C051A
(12,5,26)
#06030D
(6,3,13)
#000000
(0,0,0)

Tints of #42178F

#42178F
(66,23,143)
#532C99
(83,44,153)
#6441A3
(100,65,163)
#7556AD
(117,86,173)
#866BB7
(134,107,183)
#9780C1
(151,128,193)
#A895CB
(168,149,203)
#B9AAD5
(185,170,213)
#CABFDF
(202,191,223)
#DBD4E9
(219,212,233)
#ECE9F3
(236,233,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42178F; }

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

This text font color is #42178F.

Background Color

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

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

This div background color is #42178F.

Border color

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

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

This div border color is #42178F.

Opacity

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

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

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

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

This text has shadow with #42178F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42178F.

Preview

Color preview on black background

This text has color #42178F on black background.


Color preview on white background

This text has color #42178F on white background.


Black color preview on #42178F background

This text has black color on #42178F background.


White color preview on #42178F background

This text has white color on #42178F background.


Related colors

Complementary color

Complementary color for #hex is #BDE870.


I love getcolorcode.com

Triadic colors

1 #8F4217 and #178F42 with #42178F are triadic colors.

2 #8F1742 and #17428F with #42178F are triadic colors.