COLOR #338CB8

HEX: #338CB8
RGB: (51,140,184)

Color info

#338CB8 contains mainly green and blue colors. Web safe color of #338CB8 is #3399CC (or #39C).

RGB color model

#338CB8 color RGB value is (51,140,184).

  • red value is 51;
  • green value is 140;
  • blue value is 184.
RGB:
(51,140,184)
(20%,55%,72%)

RGB channels and saturation

R 51 of 255 = 20%
G 140 of 255 = 55%
B 184 of 255 = 72%

51
140
184

R + G + B ~ 49%. #338CB8 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
51 + 140 + 184 = 375 (100%)
R 51 of 375 ~ 13.6%
G 140 of 375 ~ 37.33%
B 184 of 375 ~ 49.07%

%13.6
%37.33
%49.07

CMYK color model

#338CB8 color CMYK value is (72,24,0,28).

  • cyan value is 72.28%
  • magenta value is 23.91%
  • yellow value is 0.00%
  • key color value is 27.84%
CMYK:
(72,24,0,28)
C72M24Y0K28 
(72%,24%,0%,28%)
(0.72/0.24/0.00/0.28)	

CMYK percentages

%72.28
%23.91
%0
%27.84

Codes

Color #338CB8 in popluar color models

338CB8
RGB51140184
HSL200°56.60%46.08%
HSB/HSV200°72.28%72.16%
CMYK72.28%23.91%0.00%
27.84%

Color #338CB8 in popluar number systems.

HEX338CB8
Decimal51140184
Binary1100111000110010111000
Octal63214270

Shades and tints

Shades of #338CB8

#338CB8
(51,140,184)
#2F80A8
(47,128,168)
#2B7498
(43,116,152)
#276888
(39,104,136)
#235C78
(35,92,120)
#1F5068
(31,80,104)
#1B4458
(27,68,88)
#173848
(23,56,72)
#132C38
(19,44,56)
#0F2028
(15,32,40)
#0B1418
(11,20,24)
#000000
(0,0,0)

Tints of #338CB8

#338CB8
(51,140,184)
#4596BE
(69,150,190)
#57A0C4
(87,160,196)
#69AACA
(105,170,202)
#7BB4D0
(123,180,208)
#8DBED6
(141,190,214)
#9FC8DC
(159,200,220)
#B1D2E2
(177,210,226)
#C3DCE8
(195,220,232)
#D5E6EE
(213,230,238)
#E7F0F4
(231,240,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #338CB8 color. Also use rgb(51,140,184) instead hex code.

Text Font Color

.myTextColor { color: #338CB8; }

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

This text font color is #338CB8.


Background Color

.myBgColor { background-color: #338CB8; }

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

This div background color is #338CB8.


Border color

.myBorderColor { border: 1px solid #338CB8; }

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

This div border color is #338CB8.


Opacity

.myOpacity80 { color: #338CB8; opacity: 0.8; }

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

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

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

This text has shadow with #338CB8 color.

.textShadow {text-shadow: 3px 3px 1px #338CB8, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #338CB8 on black background.


Color preview on white background

This text has color #338CB8 on white background.



Black color preview on #338CB8 background

This text has black color on #338CB8 background.


White color preview on #338CB8 background

This text has white color on #338CB8 background.