COLOR #2A4140

HEX: #2A4140 RGB: (42,65,64)

Color info

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

RGB color model

#2A4140 color RGB value is (42,65,64).

RGB: (42,65,64) (16%, 25%, 25%)

RGB channels and saturation

R 42 of 255 = 16%
G 65 of 255 = 25%
B 64 of 255 = 25%

42
65
64

R + G + B ~ 22%. #2A4140 is dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 65 + 64 = 171 (100%)
R 42 of 171 ~ 24.56%
G 65 of 171 ~ 38.01%
B 64 of 171 ~ 37.43'%

%24.56
%38.01
%37.43

CMYK color model

#2A4140 color CMYK value is (35,0,2,75).

  • cyan value is 35.38%
  • magenta value is 0.00%
  • yellow value is 1.54%
  • key color value is 74.51%

CMYK: (35,0,2,75)
C35M0Y2K75 (35%, 0%, 2%, 75%)
(0.35 / 0.00 / 0.02 / 0.75)

CMYK percentages

%35.38
%0
%1.54
%74.51

Codes

Color #2A4140 in popluar color models

2A 41 40
RGB 42 65 64
HSL 177° 21.50% 20.98%
HSB/HSV 177° 35.38% 25.49%
CMYK 35.38% 0.00% 1.54%
74.51%

Color #2A4140 in popluar number systems.

HEX 2A 41 40
Decimal 42 65 64
Binary 101010 1000001 1000000
Octal 52 101 100

Shades and tints

Shades of #2A4140

#2A4140
(42,65,64)
#273C3B
(39,60,59)
#243736
(36,55,54)
#213231
(33,50,49)
#1E2D2C
(30,45,44)
#1B2827
(27,40,39)
#182322
(24,35,34)
#151E1D
(21,30,29)
#121918
(18,25,24)
#0F1413
(15,20,19)
#0C0F0E
(12,15,14)
#000000
(0,0,0)

Tints of #2A4140

#2A4140
(42,65,64)
#3D5251
(61,82,81)
#506362
(80,99,98)
#637473
(99,116,115)
#768584
(118,133,132)
#899695
(137,150,149)
#9CA7A6
(156,167,166)
#AFB8B7
(175,184,183)
#C2C9C8
(194,201,200)
#D5DAD9
(213,218,217)
#E8EBEA
(232,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4140 color. Also use rgb(42,65,64) instead hex code.

Text Font Color

.myTextColor { color: #2A4140; }

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

This text font color is #2A4140.

Background Color

.myBgColor { background-color: #2A4140; }

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

This div background color is #2A4140.

Border color

.myBorderColor { border: 1px solid #2A4140; }

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

This div border color is #2A4140.

Opacity

.myOpacity80 { color: #2A4140; opacity: 0.8; }

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

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

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

This text has shadow with #2A4140 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A4140.

Preview

Color preview on black background

This text has color #2A4140 on black background.


Color preview on white background

This text has color #2A4140 on white background.


Black color preview on #2A4140 background

This text has black color on #2A4140 background.


White color preview on #2A4140 background

This text has white color on #2A4140 background.


Related colors

Complementary color

Complementary color for #hex is #D5BEBF.


I love getcolorcode.com

Triadic colors

1 #402A41 and #41402A with #2A4140 are triadic colors.

2 #40412A and #412A40 with #2A4140 are triadic colors.