COLOR #42197A

HEX: #42197A RGB: (66,25,122)

Color info

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

RGB color model

#42197A color RGB value is (66,25,122).

RGB: (66,25,122) (26%, 10%, 48%)

RGB channels and saturation

R 66 of 255 = 26%
G 25 of 255 = 10%
B 122 of 255 = 48%

66
25
122

R + G + B ~ 28%. #42197A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 25 + 122 = 213 (100%)
R 66 of 213 ~ 30.99%
G 25 of 213 ~ 11.74%
B 122 of 213 ~ 57.28'%

%30.99
%11.74
%57.28

CMYK color model

#42197A color CMYK value is (46,80,0,52).

  • cyan value is 45.90%
  • magenta value is 79.51%
  • yellow value is 0.00%
  • key color value is 52.16%
CMYK: (46,80,0,52) C46M80Y0K52 (46%,80%,0%,52%) (0.46/0.80/0.00/0.52) 

CMYK percentages

%45.9
%79.51
%0
%52.16

Codes

Color #42197A in popluar color models

42 19 7A
RGB 66 25 122
HSL 265° 65.99% 28.82%
HSB/HSV 265° 79.51% 47.84%
CMYK 45.90% 79.51% 0.00%
52.16%

Color #42197A in popluar number systems.

HEX 42 19 7A
Decimal 66 25 122
Binary 1000010 11001 1111010
Octal 102 31 172

Shades and tints

Shades of #42197A

#42197A
(66,25,122)
#3C176F
(60,23,111)
#361564
(54,21,100)
#301359
(48,19,89)
#2A114E
(42,17,78)
#240F43
(36,15,67)
#1E0D38
(30,13,56)
#180B2D
(24,11,45)
#120922
(18,9,34)
#0C0717
(12,7,23)
#06050C
(6,5,12)
#000000
(0,0,0)

Tints of #42197A

#42197A
(66,25,122)
#532D86
(83,45,134)
#644192
(100,65,146)
#75559E
(117,85,158)
#8669AA
(134,105,170)
#977DB6
(151,125,182)
#A891C2
(168,145,194)
#B9A5CE
(185,165,206)
#CAB9DA
(202,185,218)
#DBCDE6
(219,205,230)
#ECE1F2
(236,225,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42197A color. Also use rgb(66,25,122) instead hex code.

Text Font Color

.myTextColor { color: #42197A; }

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

This text font color is #42197A.

Background Color

.myBgColor { background-color: #42197A; }

<div style="background-color:#42197A">Inner text</div>

This div background color is #42197A.

Border color

.myBorderColor { border: 1px solid #42197A; }

<div style="border:3px solid #42197A">Div</div>

This div border color is #42197A.

Opacity

.myOpacity80 { color: #42197A; opacity: 0.8; }

<p style="color:#42197A;opacity:0.8;">80%</p>

Text with #42197A 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 #42197A;}

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

This text has shadow with #42197A color.


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

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

This text has shadow with #42197A primary color and red secondary color.


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

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

This text has shadow with #42197A and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #42197A.

Preview

Color preview on black background

This text has color #42197A on black background.


Color preview on white background

This text has color #42197A on white background.


Black color preview on #42197A background

This text has black color on #42197A background.


White color preview on #42197A background

This text has white color on #42197A background.


Related colors

Complementary color

Complementary color for #hex is #BDE685.


I love getcolorcode.com

Triadic colors

1 #7A4219 and #197A42 with #42197A are triadic colors.

2 #7A1942 and #19427A with #42197A are triadic colors.