COLOR #42317A

HEX: #42317A RGB: (66,49,122)

Color info

#42317A contains mainly red and blue colors. Web safe color of #42317A is #333366 (or #336).

RGB color model

#42317A color RGB value is (66,49,122).

RGB: (66,49,122) (26%, 19%, 48%)

RGB channels and saturation

R 66 of 255 = 26%
G 49 of 255 = 19%
B 122 of 255 = 48%

66
49
122

R + G + B ~ 31%. #42317A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 49 + 122 = 237 (100%)
R 66 of 237 ~ 27.85%
G 49 of 237 ~ 20.68%
B 122 of 237 ~ 51.48'%

%27.85
%20.68
%51.48

CMYK color model

#42317A color CMYK value is (46,60,0,52).

  • cyan value is 45.90%
  • magenta value is 59.84%
  • yellow value is 0.00%
  • key color value is 52.16%

CMYK: (46,60,0,52)
C46M60Y0K52 (46%, 60%, 0%, 52%)
(0.46 / 0.60 / 0.00 / 0.52)

CMYK percentages

%45.9
%59.84
%0
%52.16

Codes

Color #42317A in popluar color models

42 31 7A
RGB 66 49 122
HSL 254° 42.69% 33.53%
HSB/HSV 254° 59.84% 47.84%
CMYK 45.90% 59.84% 0.00%
52.16%

Color #42317A in popluar number systems.

HEX 42 31 7A
Decimal 66 49 122
Binary 1000010 110001 1111010
Octal 102 61 172

Shades and tints

Shades of #42317A

#42317A
(66,49,122)
#3C2D6F
(60,45,111)
#362964
(54,41,100)
#302559
(48,37,89)
#2A214E
(42,33,78)
#241D43
(36,29,67)
#1E1938
(30,25,56)
#18152D
(24,21,45)
#121122
(18,17,34)
#0C0D17
(12,13,23)
#06090C
(6,9,12)
#000000
(0,0,0)

Tints of #42317A

#42317A
(66,49,122)
#534386
(83,67,134)
#645592
(100,85,146)
#75679E
(117,103,158)
#8679AA
(134,121,170)
#978BB6
(151,139,182)
#A89DC2
(168,157,194)
#B9AFCE
(185,175,206)
#CAC1DA
(202,193,218)
#DBD3E6
(219,211,230)
#ECE5F2
(236,229,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42317A; }

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

This text font color is #42317A.

Background Color

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

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

This div background color is #42317A.

Border color

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

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

This div border color is #42317A.

Opacity

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

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

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

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

This text has shadow with #42317A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42317A.

Preview

Color preview on black background

This text has color #42317A on black background.


Color preview on white background

This text has color #42317A on white background.


Black color preview on #42317A background

This text has black color on #42317A background.


White color preview on #42317A background

This text has white color on #42317A background.


Related colors

Complementary color

Complementary color for #hex is #BDCE85.


I love getcolorcode.com

Triadic colors

1 #7A4231 and #317A42 with #42317A are triadic colors.

2 #7A3142 and #31427A with #42317A are triadic colors.