COLOR #340C57

HEX: #340C57 RGB: (52,12,87)

Color info

#340C57 contains mainly red and blue colors. Web safe color of #340C57 is #330066 (or #306).

RGB color model

#340C57 color RGB value is (52,12,87).

RGB: (52,12,87) (20%, 5%, 34%)

RGB channels and saturation

R 52 of 255 = 20%
G 12 of 255 = 5%
B 87 of 255 = 34%

52
12
87

R + G + B ~ 20%. #340C57 is dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 12 + 87 = 151 (100%)
R 52 of 151 ~ 34.44%
G 12 of 151 ~ 7.95%
B 87 of 151 ~ 57.62'%

%34.44
%57.62

CMYK color model

#340C57 color CMYK value is (40,86,0,66).

  • cyan value is 40.23%
  • magenta value is 86.21%
  • yellow value is 0.00%
  • key color value is 65.88%

CMYK: (40,86,0,66)
C40M86Y0K66 (40%, 86%, 0%, 66%)
(0.40 / 0.86 / 0.00 / 0.66)

CMYK percentages

%40.23
%86.21
%0
%65.88

Codes

Color #340C57 in popluar color models

34 0C 57
RGB 52 12 87
HSL 272° 75.76% 19.41%
HSB/HSV 272° 86.21% 34.12%
CMYK 40.23% 86.21% 0.00%
65.88%

Color #340C57 in popluar number systems.

HEX 34 0C 57
Decimal 52 12 87
Binary 110100 1100 1010111
Octal 64 14 127

Shades and tints

Shades of #340C57

#340C57
(52,12,87)
#300B50
(48,11,80)
#2C0A49
(44,10,73)
#280942
(40,9,66)
#24083B
(36,8,59)
#200734
(32,7,52)
#1C062D
(28,6,45)
#180526
(24,5,38)
#14041F
(20,4,31)
#100318
(16,3,24)
#0C0211
(12,2,17)
#000000
(0,0,0)

Tints of #340C57

#340C57
(52,12,87)
#462266
(70,34,102)
#583875
(88,56,117)
#6A4E84
(106,78,132)
#7C6493
(124,100,147)
#8E7AA2
(142,122,162)
#A090B1
(160,144,177)
#B2A6C0
(178,166,192)
#C4BCCF
(196,188,207)
#D6D2DE
(214,210,222)
#E8E8ED
(232,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #340C57 color. Also use rgb(52,12,87) instead hex code.

Text Font Color

.myTextColor { color: #340C57; }

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

This text font color is #340C57.

Background Color

.myBgColor { background-color: #340C57; }

<div style="background-color:#340C57">Inner text</div>

This div background color is #340C57.

Border color

.myBorderColor { border: 1px solid #340C57; }

<div style="border:3px solid #340C57">Div</div>

This div border color is #340C57.

Opacity

.myOpacity80 { color: #340C57; opacity: 0.8; }

<p style="color:#340C57;opacity:0.8;">80%</p>

Text with #340C57 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 #340C57;}

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

This text has shadow with #340C57 color.


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

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

This text has shadow with #340C57 primary color and red secondary color.


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

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

This text has shadow with #340C57 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #340C57.

Preview

Color preview on black background

This text has color #340C57 on black background.


Color preview on white background

This text has color #340C57 on white background.


Black color preview on #340C57 background

This text has black color on #340C57 background.


White color preview on #340C57 background

This text has white color on #340C57 background.


Related colors

Complementary color

Complementary color for #hex is #CBF3A8.


I love getcolorcode.com

Triadic colors

1 #57340C and #0C5734 with #340C57 are triadic colors.

2 #570C34 and #0C3457 with #340C57 are triadic colors.