COLOR #340D59

HEX: #340D59 RGB: (52,13,89)

Color info

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

RGB color model

#340D59 color RGB value is (52,13,89).

RGB: (52,13,89) (20%, 5%, 35%)

RGB channels and saturation

R 52 of 255 = 20%
G 13 of 255 = 5%
B 89 of 255 = 35%

52
13
89

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

Portions of RGB colors in percentages

R + G + B = 52 + 13 + 89 = 154 (100%)
R 52 of 154 ~ 33.77%
G 13 of 154 ~ 8.44%
B 89 of 154 ~ 57.79'%

%33.77
%57.79

CMYK color model

#340D59 color CMYK value is (42,85,0,65).

  • cyan value is 41.57%
  • magenta value is 85.39%
  • yellow value is 0.00%
  • key color value is 65.10%

CMYK: (42,85,0,65)
C42M85Y0K65 (42%, 85%, 0%, 65%)
(0.42 / 0.85 / 0.00 / 0.65)

CMYK percentages

%41.57
%85.39
%0
%65.1

Codes

Color #340D59 in popluar color models

34 0D 59
RGB 52 13 89
HSL 271° 74.51% 20.00%
HSB/HSV 271° 85.39% 34.90%
CMYK 41.57% 85.39% 0.00%
65.10%

Color #340D59 in popluar number systems.

HEX 34 0D 59
Decimal 52 13 89
Binary 110100 1101 1011001
Octal 64 15 131

Shades and tints

Shades of #340D59

#340D59
(52,13,89)
#300C51
(48,12,81)
#2C0B49
(44,11,73)
#280A41
(40,10,65)
#240939
(36,9,57)
#200831
(32,8,49)
#1C0729
(28,7,41)
#180621
(24,6,33)
#140519
(20,5,25)
#100411
(16,4,17)
#0C0309
(12,3,9)
#000000
(0,0,0)

Tints of #340D59

#340D59
(52,13,89)
#462368
(70,35,104)
#583977
(88,57,119)
#6A4F86
(106,79,134)
#7C6595
(124,101,149)
#8E7BA4
(142,123,164)
#A091B3
(160,145,179)
#B2A7C2
(178,167,194)
#C4BDD1
(196,189,209)
#D6D3E0
(214,211,224)
#E8E9EF
(232,233,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #340D59 color. Also use rgb(52,13,89) instead hex code.

Text Font Color

.myTextColor { color: #340D59; }

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

This text font color is #340D59.

Background Color

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

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

This div background color is #340D59.

Border color

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

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

This div border color is #340D59.

Opacity

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

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

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

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

This text has shadow with #340D59 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #340D59.

Preview

Color preview on black background

This text has color #340D59 on black background.


Color preview on white background

This text has color #340D59 on white background.


Black color preview on #340D59 background

This text has black color on #340D59 background.


White color preview on #340D59 background

This text has white color on #340D59 background.


Related colors

Complementary color

Complementary color for #hex is #CBF2A6.


I love getcolorcode.com

Triadic colors

1 #59340D and #0D5934 with #340D59 are triadic colors.

2 #590D34 and #0D3459 with #340D59 are triadic colors.