COLOR #34315E

HEX: #34315E RGB: (52,49,94)

Color info

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

RGB color model

#34315E color RGB value is (52,49,94).

RGB: (52,49,94) (20%, 19%, 37%)

RGB channels and saturation

R 52 of 255 = 20%
G 49 of 255 = 19%
B 94 of 255 = 37%

52
49
94

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

Portions of RGB colors in percentages

R + G + B = 52 + 49 + 94 = 195 (100%)
R 52 of 195 ~ 26.67%
G 49 of 195 ~ 25.13%
B 94 of 195 ~ 48.21'%

%26.67
%25.13
%48.21

CMYK color model

#34315E color CMYK value is (45,48,0,63).

  • cyan value is 44.68%
  • magenta value is 47.87%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK: (45,48,0,63) C45M48Y0K63 (45%,48%,0%,63%) (0.45/0.48/0.00/0.63) 

CMYK percentages

%44.68
%47.87
%0
%63.14

Codes

Color #34315E in popluar color models

34 31 5E
RGB 52 49 94
HSL 244° 31.47% 28.04%
HSB/HSV 244° 47.87% 36.86%
CMYK 44.68% 47.87% 0.00%
63.14%

Color #34315E in popluar number systems.

HEX 34 31 5E
Decimal 52 49 94
Binary 110100 110001 1011110
Octal 64 61 136

Shades and tints

Shades of #34315E

#34315E
(52,49,94)
#302D56
(48,45,86)
#2C294E
(44,41,78)
#282546
(40,37,70)
#24213E
(36,33,62)
#201D36
(32,29,54)
#1C192E
(28,25,46)
#181526
(24,21,38)
#14111E
(20,17,30)
#100D16
(16,13,22)
#0C090E
(12,9,14)
#000000
(0,0,0)

Tints of #34315E

#34315E
(52,49,94)
#46436C
(70,67,108)
#58557A
(88,85,122)
#6A6788
(106,103,136)
#7C7996
(124,121,150)
#8E8BA4
(142,139,164)
#A09DB2
(160,157,178)
#B2AFC0
(178,175,192)
#C4C1CE
(196,193,206)
#D6D3DC
(214,211,220)
#E8E5EA
(232,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #34315E; }

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

This text font color is #34315E.

Background Color

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

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

This div background color is #34315E.

Border color

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

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

This div border color is #34315E.

Opacity

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

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

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

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

This text has shadow with #34315E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #34315E.

Preview

Color preview on black background

This text has color #34315E on black background.


Color preview on white background

This text has color #34315E on white background.


Black color preview on #34315E background

This text has black color on #34315E background.


White color preview on #34315E background

This text has white color on #34315E background.


Related colors

Complementary color

Complementary color for #hex is #CBCEA1.


I love getcolorcode.com

Triadic colors

1 #5E3431 and #315E34 with #34315E are triadic colors.

2 #5E3134 and #31345E with #34315E are triadic colors.