COLOR #34315A

HEX: #34315A RGB: (52,49,90)

Color info

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

RGB color model

#34315A color RGB value is (52,49,90).

RGB: (52,49,90) (20%, 19%, 35%)

RGB channels and saturation

R 52 of 255 = 20%
G 49 of 255 = 19%
B 90 of 255 = 35%

52
49
90

R + G + B ~ 25%. #34315A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 49 + 90 = 191 (100%)
R 52 of 191 ~ 27.23%
G 49 of 191 ~ 25.65%
B 90 of 191 ~ 47.12'%

%27.23
%25.65
%47.12

CMYK color model

#34315A color CMYK value is (42,46,0,65).

  • cyan value is 42.22%
  • magenta value is 45.56%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK: (42,46,0,65) C42M46Y0K65 (42%,46%,0%,65%) (0.42/0.46/0.00/0.65) 

CMYK percentages

%42.22
%45.56
%0
%64.71

Codes

Color #34315A in popluar color models

34 31 5A
RGB 52 49 90
HSL 244° 29.50% 27.25%
HSB/HSV 244° 45.56% 35.29%
CMYK 42.22% 45.56% 0.00%
64.71%

Color #34315A in popluar number systems.

HEX 34 31 5A
Decimal 52 49 90
Binary 110100 110001 1011010
Octal 64 61 132

Shades and tints

Shades of #34315A

#34315A
(52,49,90)
#302D52
(48,45,82)
#2C294A
(44,41,74)
#282542
(40,37,66)
#24213A
(36,33,58)
#201D32
(32,29,50)
#1C192A
(28,25,42)
#181522
(24,21,34)
#14111A
(20,17,26)
#100D12
(16,13,18)
#0C090A
(12,9,10)
#000000
(0,0,0)

Tints of #34315A

#34315A
(52,49,90)
#464369
(70,67,105)
#585578
(88,85,120)
#6A6787
(106,103,135)
#7C7996
(124,121,150)
#8E8BA5
(142,139,165)
#A09DB4
(160,157,180)
#B2AFC3
(178,175,195)
#C4C1D2
(196,193,210)
#D6D3E1
(214,211,225)
#E8E5F0
(232,229,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #34315A; }

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

This text font color is #34315A.

Background Color

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

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

This div background color is #34315A.

Border color

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

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

This div border color is #34315A.

Opacity

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

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

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

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

This text has shadow with #34315A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #34315A.

Preview

Color preview on black background

This text has color #34315A on black background.


Color preview on white background

This text has color #34315A on white background.


Black color preview on #34315A background

This text has black color on #34315A background.


White color preview on #34315A background

This text has white color on #34315A background.


Related colors

Complementary color

Complementary color for #hex is #CBCEA5.


I love getcolorcode.com

Triadic colors

1 #5A3431 and #315A34 with #34315A are triadic colors.

2 #5A3134 and #31345A with #34315A are triadic colors.