COLOR #42315A

HEX: #42315A RGB: (66,49,90)

Color info

#42315A contains red, green and blue colors in about the same proportion. Web safe color of #42315A is #333366 (or #336).

RGB color model

#42315A color RGB value is (66,49,90).

RGB: (66,49,90) (26%, 19%, 35%)

RGB channels and saturation

R 66 of 255 = 26%
G 49 of 255 = 19%
B 90 of 255 = 35%

66
49
90

R + G + B ~ 27%. #42315A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 49 + 90 = 205 (100%)
R 66 of 205 ~ 32.2%
G 49 of 205 ~ 23.9%
B 90 of 205 ~ 43.9'%

%32.2
%23.9
%43.9

CMYK color model

#42315A color CMYK value is (27,46,0,65).

  • cyan value is 26.67%
  • magenta value is 45.56%
  • yellow value is 0.00%
  • key color value is 64.71%

CMYK: (27,46,0,65)
C27M46Y0K65 (27%, 46%, 0%, 65%)
(0.27 / 0.46 / 0.00 / 0.65)

CMYK percentages

%26.67
%45.56
%0
%64.71

Codes

Color #42315A in popluar color models

42 31 5A
RGB 66 49 90
HSL 265° 29.50% 27.25%
HSB/HSV 265° 45.56% 35.29%
CMYK 26.67% 45.56% 0.00%
64.71%

Color #42315A in popluar number systems.

HEX 42 31 5A
Decimal 66 49 90
Binary 1000010 110001 1011010
Octal 102 61 132

Shades and tints

Shades of #42315A

#42315A
(66,49,90)
#3C2D52
(60,45,82)
#36294A
(54,41,74)
#302542
(48,37,66)
#2A213A
(42,33,58)
#241D32
(36,29,50)
#1E192A
(30,25,42)
#181522
(24,21,34)
#12111A
(18,17,26)
#0C0D12
(12,13,18)
#06090A
(6,9,10)
#000000
(0,0,0)

Tints of #42315A

#42315A
(66,49,90)
#534369
(83,67,105)
#645578
(100,85,120)
#756787
(117,103,135)
#867996
(134,121,150)
#978BA5
(151,139,165)
#A89DB4
(168,157,180)
#B9AFC3
(185,175,195)
#CAC1D2
(202,193,210)
#DBD3E1
(219,211,225)
#ECE5F0
(236,229,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42315A; }

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

This text font color is #42315A.

Background Color

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

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

This div background color is #42315A.

Border color

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

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

This div border color is #42315A.

Opacity

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

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

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

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

This text has shadow with #42315A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42315A.

Preview

Color preview on black background

This text has color #42315A on black background.


Color preview on white background

This text has color #42315A on white background.


Black color preview on #42315A background

This text has black color on #42315A background.


White color preview on #42315A background

This text has white color on #42315A background.


Related colors

Complementary color

Complementary color for #hex is #BDCEA5.


I love getcolorcode.com

Triadic colors

1 #5A4231 and #315A42 with #42315A are triadic colors.

2 #5A3142 and #31425A with #42315A are triadic colors.