COLOR #340849

HEX: #340849 RGB: (52,8,73)

Color info

#340849 contains mainly red and blue colors. Web safe color of #340849 is #330033 (or #303).

RGB color model

#340849 color RGB value is (52,8,73).

RGB: (52,8,73) (20%, 3%, 29%)

RGB channels and saturation

R 52 of 255 = 20%
G 8 of 255 = 3%
B 73 of 255 = 29%

52
8
73

R + G + B ~ 17%. #340849 is dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 8 + 73 = 133 (100%)
R 52 of 133 ~ 39.1%
G 8 of 133 ~ 6.02%
B 73 of 133 ~ 54.89'%

%39.1
%54.89

CMYK color model

#340849 color CMYK value is (29,89,0,71).

  • cyan value is 28.77%
  • magenta value is 89.04%
  • yellow value is 0.00%
  • key color value is 71.37%
CMYK: (29,89,0,71) C29M89Y0K71 (29%,89%,0%,71%) (0.29/0.89/0.00/0.71) 

CMYK percentages

%28.77
%89.04
%0
%71.37

Codes

Color #340849 in popluar color models

34 08 49
RGB 52 8 73
HSL 281° 80.25% 15.88%
HSB/HSV 281° 89.04% 28.63%
CMYK 28.77% 89.04% 0.00%
71.37%

Color #340849 in popluar number systems.

HEX 34 08 49
Decimal 52 8 73
Binary 110100 1000 1001001
Octal 64 10 111

Shades and tints

Shades of #340849

#340849
(52,8,73)
#300843
(48,8,67)
#2C083D
(44,8,61)
#280837
(40,8,55)
#240831
(36,8,49)
#20082B
(32,8,43)
#1C0825
(28,8,37)
#18081F
(24,8,31)
#140819
(20,8,25)
#100813
(16,8,19)
#0C080D
(12,8,13)
#000000
(0,0,0)

Tints of #340849

#340849
(52,8,73)
#461E59
(70,30,89)
#583469
(88,52,105)
#6A4A79
(106,74,121)
#7C6089
(124,96,137)
#8E7699
(142,118,153)
#A08CA9
(160,140,169)
#B2A2B9
(178,162,185)
#C4B8C9
(196,184,201)
#D6CED9
(214,206,217)
#E8E4E9
(232,228,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #340849 color. Also use rgb(52,8,73) instead hex code.

Text Font Color

.myTextColor { color: #340849; }

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

This text font color is #340849.

Background Color

.myBgColor { background-color: #340849; }

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

This div background color is #340849.

Border color

.myBorderColor { border: 1px solid #340849; }

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

This div border color is #340849.

Opacity

.myOpacity80 { color: #340849; opacity: 0.8; }

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

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

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

This text has shadow with #340849 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #340849.

Preview

Color preview on black background

This text has color #340849 on black background.


Color preview on white background

This text has color #340849 on white background.


Black color preview on #340849 background

This text has black color on #340849 background.


White color preview on #340849 background

This text has white color on #340849 background.


Related colors

Complementary color

Complementary color for #hex is #CBF7B6.


I love getcolorcode.com

Triadic colors

1 #493408 and #084934 with #340849 are triadic colors.

2 #490834 and #083449 with #340849 are triadic colors.