COLOR #42315B

HEX: #42315B RGB: (66,49,91)

Color info

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

RGB color model

#42315B color RGB value is (66,49,91).

RGB: (66,49,91) (26%, 19%, 36%)

RGB channels and saturation

R 66 of 255 = 26%
G 49 of 255 = 19%
B 91 of 255 = 36%

66
49
91

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

Portions of RGB colors in percentages

R + G + B = 66 + 49 + 91 = 206 (100%)
R 66 of 206 ~ 32.04%
G 49 of 206 ~ 23.79%
B 91 of 206 ~ 44.17'%

%32.04
%23.79
%44.17

CMYK color model

#42315B color CMYK value is (27,46,0,64).

  • cyan value is 27.47%
  • magenta value is 46.15%
  • yellow value is 0.00%
  • key color value is 64.31%

CMYK: (27,46,0,64)
C27M46Y0K64 (27%, 46%, 0%, 64%)
(0.27 / 0.46 / 0.00 / 0.64)

CMYK percentages

%27.47
%46.15
%0
%64.31

Codes

Color #42315B in popluar color models

42 31 5B
RGB 66 49 91
HSL 264° 30.00% 27.45%
HSB/HSV 264° 46.15% 35.69%
CMYK 27.47% 46.15% 0.00%
64.31%

Color #42315B in popluar number systems.

HEX 42 31 5B
Decimal 66 49 91
Binary 1000010 110001 1011011
Octal 102 61 133

Shades and tints

Shades of #42315B

#42315B
(66,49,91)
#3C2D53
(60,45,83)
#36294B
(54,41,75)
#302543
(48,37,67)
#2A213B
(42,33,59)
#241D33
(36,29,51)
#1E192B
(30,25,43)
#181523
(24,21,35)
#12111B
(18,17,27)
#0C0D13
(12,13,19)
#06090B
(6,9,11)
#000000
(0,0,0)

Tints of #42315B

#42315B
(66,49,91)
#534369
(83,67,105)
#645577
(100,85,119)
#756785
(117,103,133)
#867993
(134,121,147)
#978BA1
(151,139,161)
#A89DAF
(168,157,175)
#B9AFBD
(185,175,189)
#CAC1CB
(202,193,203)
#DBD3D9
(219,211,217)
#ECE5E7
(236,229,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42315B; }

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

This text font color is #42315B.

Background Color

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

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

This div background color is #42315B.

Border color

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

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

This div border color is #42315B.

Opacity

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

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

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

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

This text has shadow with #42315B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42315B.

Preview

Color preview on black background

This text has color #42315B on black background.


Color preview on white background

This text has color #42315B on white background.


Black color preview on #42315B background

This text has black color on #42315B background.


White color preview on #42315B background

This text has white color on #42315B background.


Related colors

Complementary color

Complementary color for #hex is #BDCEA4.


I love getcolorcode.com

Triadic colors

1 #5B4231 and #315B42 with #42315B are triadic colors.

2 #5B3142 and #31425B with #42315B are triadic colors.