COLOR #342C5A

HEX: #342C5A RGB: (52,44,90)

Color info

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

RGB color model

#342C5A color RGB value is (52,44,90).

RGB: (52,44,90) (20%, 17%, 35%)

RGB channels and saturation

R 52 of 255 = 20%
G 44 of 255 = 17%
B 90 of 255 = 35%

52
44
90

R + G + B ~ 24%. #342C5A is dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 44 + 90 = 186 (100%)
R 52 of 186 ~ 27.96%
G 44 of 186 ~ 23.66%
B 90 of 186 ~ 48.39'%

%27.96
%23.66
%48.39

CMYK color model

#342C5A color CMYK value is (42,51,0,65).

  • cyan value is 42.22%
  • magenta value is 51.11%
  • yellow value is 0.00%
  • key color value is 64.71%

CMYK: (42,51,0,65)
C42M51Y0K65 (42%, 51%, 0%, 65%)
(0.42 / 0.51 / 0.00 / 0.65)

CMYK percentages

%42.22
%51.11
%0
%64.71

Codes

Color #342C5A in popluar color models

34 2C 5A
RGB 52 44 90
HSL 250° 34.33% 26.27%
HSB/HSV 250° 51.11% 35.29%
CMYK 42.22% 51.11% 0.00%
64.71%

Color #342C5A in popluar number systems.

HEX 34 2C 5A
Decimal 52 44 90
Binary 110100 101100 1011010
Octal 64 54 132

Shades and tints

Shades of #342C5A

#342C5A
(52,44,90)
#302852
(48,40,82)
#2C244A
(44,36,74)
#282042
(40,32,66)
#241C3A
(36,28,58)
#201832
(32,24,50)
#1C142A
(28,20,42)
#181022
(24,16,34)
#140C1A
(20,12,26)
#100812
(16,8,18)
#0C040A
(12,4,10)
#000000
(0,0,0)

Tints of #342C5A

#342C5A
(52,44,90)
#463F69
(70,63,105)
#585278
(88,82,120)
#6A6587
(106,101,135)
#7C7896
(124,120,150)
#8E8BA5
(142,139,165)
#A09EB4
(160,158,180)
#B2B1C3
(178,177,195)
#C4C4D2
(196,196,210)
#D6D7E1
(214,215,225)
#E8EAF0
(232,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342C5A color. Also use rgb(52,44,90) instead hex code.

Text Font Color

.myTextColor { color: #342C5A; }

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

This text font color is #342C5A.

Background Color

.myBgColor { background-color: #342C5A; }

<div style="background-color:#342C5A">Inner text</div>

This div background color is #342C5A.

Border color

.myBorderColor { border: 1px solid #342C5A; }

<div style="border:3px solid #342C5A">Div</div>

This div border color is #342C5A.

Opacity

.myOpacity80 { color: #342C5A; opacity: 0.8; }

<p style="color:#342C5A;opacity:0.8;">80%</p>

Text with #342C5A 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 #342C5A;}

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

This text has shadow with #342C5A color.


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

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

This text has shadow with #342C5A primary color and red secondary color.


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

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

This text has shadow with #342C5A and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #342C5A.

Preview

Color preview on black background

This text has color #342C5A on black background.


Color preview on white background

This text has color #342C5A on white background.


Black color preview on #342C5A background

This text has black color on #342C5A background.


White color preview on #342C5A background

This text has white color on #342C5A background.


Related colors

Complementary color

Complementary color for #hex is #CBD3A5.


I love getcolorcode.com

Triadic colors

1 #5A342C and #2C5A34 with #342C5A are triadic colors.

2 #5A2C34 and #2C345A with #342C5A are triadic colors.