COLOR #342841

HEX: #342841 RGB: (52,40,65)

Color info

#342841 contains red, green and blue colors in about the same proportion. Web safe color of #342841 is #333333 (or #333).

RGB color model

#342841 color RGB value is (52,40,65).

RGB: (52,40,65) (20%, 16%, 25%)

RGB channels and saturation

R 52 of 255 = 20%
G 40 of 255 = 16%
B 65 of 255 = 25%

52
40
65

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

Portions of RGB colors in percentages

R + G + B = 52 + 40 + 65 = 157 (100%)
R 52 of 157 ~ 33.12%
G 40 of 157 ~ 25.48%
B 65 of 157 ~ 41.4'%

%33.12
%25.48
%41.4

CMYK color model

#342841 color CMYK value is (20,38,0,75).

  • cyan value is 20.00%
  • magenta value is 38.46%
  • yellow value is 0.00%
  • key color value is 74.51%

CMYK: (20,38,0,75)
C20M38Y0K75 (20%, 38%, 0%, 75%)
(0.20 / 0.38 / 0.00 / 0.75)

CMYK percentages

%20
%38.46
%0
%74.51

Codes

Color #342841 in popluar color models

34 28 41
RGB 52 40 65
HSL 269° 23.81% 20.59%
HSB/HSV 269° 38.46% 25.49%
CMYK 20.00% 38.46% 0.00%
74.51%

Color #342841 in popluar number systems.

HEX 34 28 41
Decimal 52 40 65
Binary 110100 101000 1000001
Octal 64 50 101

Shades and tints

Shades of #342841

#342841
(52,40,65)
#30253C
(48,37,60)
#2C2237
(44,34,55)
#281F32
(40,31,50)
#241C2D
(36,28,45)
#201928
(32,25,40)
#1C1623
(28,22,35)
#18131E
(24,19,30)
#141019
(20,16,25)
#100D14
(16,13,20)
#0C0A0F
(12,10,15)
#000000
(0,0,0)

Tints of #342841

#342841
(52,40,65)
#463B52
(70,59,82)
#584E63
(88,78,99)
#6A6174
(106,97,116)
#7C7485
(124,116,133)
#8E8796
(142,135,150)
#A09AA7
(160,154,167)
#B2ADB8
(178,173,184)
#C4C0C9
(196,192,201)
#D6D3DA
(214,211,218)
#E8E6EB
(232,230,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342841 color. Also use rgb(52,40,65) instead hex code.

Text Font Color

.myTextColor { color: #342841; }

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

This text font color is #342841.

Background Color

.myBgColor { background-color: #342841; }

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

This div background color is #342841.

Border color

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

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

This div border color is #342841.

Opacity

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

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

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

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

This text has shadow with #342841 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342841.

Preview

Color preview on black background

This text has color #342841 on black background.


Color preview on white background

This text has color #342841 on white background.


Black color preview on #342841 background

This text has black color on #342841 background.


White color preview on #342841 background

This text has white color on #342841 background.


Related colors

Complementary color

Complementary color for #hex is #CBD7BE.


I love getcolorcode.com

Triadic colors

1 #413428 and #284134 with #342841 are triadic colors.

2 #412834 and #283441 with #342841 are triadic colors.