COLOR #2A6C9E

HEX: #2A6C9E
RGB: (42,108,158)

Color info

#2A6C9E contains mainly green and blue colors. Web safe color of #2A6C9E is #336699 (or #369).

RGB color model

#2A6C9E color RGB value is (42,108,158).

  • red value is 42;
  • green value is 108;
  • blue value is 158.
RGB:
(42,108,158)
(16%,42%,62%)

RGB channels and saturation

R 42 of 255 = 16%
G 108 of 255 = 42%
B 158 of 255 = 62%

42
108
158

R + G + B ~ 40%. #2A6C9E is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
42 + 108 + 158 = 308 (100%)
R 42 of 308 ~ 13.64%
G 108 of 308 ~ 35.06%
B 158 of 308 ~ 51.3%

%13.64
%35.06
%51.3

CMYK color model

#2A6C9E color CMYK value is (73,32,0,38).

  • cyan value is 73.42%
  • magenta value is 31.65%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(73,32,0,38)
C73M32Y0K38 
(73%,32%,0%,38%)
(0.73/0.32/0.00/0.38)	

CMYK percentages

%73.42
%31.65
%0
%38.04

Codes

Color #2A6C9E in popluar color models

2A6C9E
RGB42108158
HSL206°58.00%39.22%
HSB/HSV206°73.42%61.96%
CMYK73.42%31.65%0.00%
38.04%

Color #2A6C9E in popluar number systems.

HEX2A6C9E
Decimal42108158
Binary101010110110010011110
Octal52154236

Shades and tints

Shades of #2A6C9E

#2A6C9E
(42,108,158)
#276390
(39,99,144)
#245A82
(36,90,130)
#215174
(33,81,116)
#1E4866
(30,72,102)
#1B3F58
(27,63,88)
#18364A
(24,54,74)
#152D3C
(21,45,60)
#12242E
(18,36,46)
#0F1B20
(15,27,32)
#0C1212
(12,18,18)
#000000
(0,0,0)

Tints of #2A6C9E

#2A6C9E
(42,108,158)
#3D79A6
(61,121,166)
#5086AE
(80,134,174)
#6393B6
(99,147,182)
#76A0BE
(118,160,190)
#89ADC6
(137,173,198)
#9CBACE
(156,186,206)
#AFC7D6
(175,199,214)
#C2D4DE
(194,212,222)
#D5E1E6
(213,225,230)
#E8EEEE
(232,238,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A6C9E color. Also use rgb(42,108,158) instead hex code.

Text Font Color

.myTextColor { color: #2A6C9E; }

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

This text font color is #2A6C9E.


Background Color

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

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

This div background color is #2A6C9E.


Border color

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

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

This div border color is #2A6C9E.


Opacity

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

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

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

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

This text has shadow with #2A6C9E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A6C9E on black background.


Color preview on white background

This text has color #2A6C9E on white background.



Black color preview on #2A6C9E background

This text has black color on #2A6C9E background.


White color preview on #2A6C9E background

This text has white color on #2A6C9E background.