COLOR #338ACC

HEX: #338ACC
RGB: (51,138,204)

Color info

#338ACC contains mainly blue color. Web safe color of #338ACC is #3399CC (or #39C).

RGB color model

#338ACC color RGB value is (51,138,204).

  • red value is 51;
  • green value is 138;
  • blue value is 204.
RGB:
(51,138,204)
(20%,54%,80%)

RGB channels and saturation

R 51 of 255 = 20%
G 138 of 255 = 54%
B 204 of 255 = 80%

51
138
204

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

Portions of RGB colors in percentages

R + G + B =
51 + 138 + 204 = 393 (100%)
R 51 of 393 ~ 12.98%
G 138 of 393 ~ 35.11%
B 204 of 393 ~ 51.91%

%12.98
%35.11
%51.91

CMYK color model

#338ACC color CMYK value is (75,32,0,20).

  • cyan value is 75.00%
  • magenta value is 32.35%
  • yellow value is 0.00%
  • key color value is 20.00%
CMYK:
(75,32,0,20)
C75M32Y0K20 
(75%,32%,0%,20%)
(0.75/0.32/0.00/0.20)	

CMYK percentages

%75
%32.35
%0
%20

Codes

Color #338ACC in popluar color models

338ACC
RGB51138204
HSL206°60.00%50.00%
HSB/HSV206°75.00%80.00%
CMYK75.00%32.35%0.00%
20.00%

Color #338ACC in popluar number systems.

HEX338ACC
Decimal51138204
Binary1100111000101011001100
Octal63212314

Shades and tints

Shades of #338ACC

#338ACC
(51,138,204)
#2F7EBA
(47,126,186)
#2B72A8
(43,114,168)
#276696
(39,102,150)
#235A84
(35,90,132)
#1F4E72
(31,78,114)
#1B4260
(27,66,96)
#17364E
(23,54,78)
#132A3C
(19,42,60)
#0F1E2A
(15,30,42)
#0B1218
(11,18,24)
#000000
(0,0,0)

Tints of #338ACC

#338ACC
(51,138,204)
#4594D0
(69,148,208)
#579ED4
(87,158,212)
#69A8D8
(105,168,216)
#7BB2DC
(123,178,220)
#8DBCE0
(141,188,224)
#9FC6E4
(159,198,228)
#B1D0E8
(177,208,232)
#C3DAEC
(195,218,236)
#D5E4F0
(213,228,240)
#E7EEF4
(231,238,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #338ACC color. Also use rgb(51,138,204) instead hex code.

Text Font Color

.myTextColor { color: #338ACC; }

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

This text font color is #338ACC.


Background Color

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

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

This div background color is #338ACC.


Border color

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

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

This div border color is #338ACC.


Opacity

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

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

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

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

This text has shadow with #338ACC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #338ACC on black background.


Color preview on white background

This text has color #338ACC on white background.



Black color preview on #338ACC background

This text has black color on #338ACC background.


White color preview on #338ACC background

This text has white color on #338ACC background.