Colors RGB






<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->



Colors RGB




❮ Previous
Next ❯



RGB Calculator





 



#ff0000

hsl(0, 100%, 50%)









R:









G:









B:












RGB Colors


RGB color values are supported in all browsers.


An RGB color value is specified with: rgb(red, green, blue).


Each parameter (red, green, and
blue) defines the intensity of the color as an integer between 0 and 255.


For example, rgb(0, 0, 255) is rendered as blue,
because the blue parameter is set to its highest value (255) and the others are set to 0.




function submitOnEnter(e) {
keyboardKey = e.which || e.keyCode;
if (keyboardKey == 13) {
setFullColor();
}
}
function clickRed(red) {
var r = document.getElementById("r01");
r.value = red;
setColor(r);
}
function clickGreen(green) {
var g = document.getElementById("g01");
g.value = green;
setColor(g);
}
function clickBlue(blue) {
var b = document.getElementById("b01");
b.value = blue;
setColor(b);
}
function drawRedTable() {
var x, i, n, g, b;
g = 0;
b = 0;
x = ""
x += "";
n = 0;
for (i = 0; i <= 255; i++) {
n = i;
x += "
" + n + "

Popular posts from this blog

Colors HSL

Google Hardware Icons

SVG Filters