-

(function() { var calculate = document.getElementById("calculate"); var copy = document.getElementById("copyButton"); var result = document.getElementById("result"); function packRGBA(r, g, b, a) { return (r << 24 | g << 16 | b << 8 | a) >>> 0; } calculate.onclick = function() { var r = Math.min(Math.max(parseInt(document.getElementById("r").value) || 0, 0), 255); var g = Math.min(Math.max(parseInt(document.getElementById("g").value) || 0, 0), 255); var b = Math.min(Math.max(parseInt(document.getElementById("b").value) || 0, 0), 255); var a = Math.min(Math.max(parseInt(document.getElementById("a").value) || 0, 0), 255); var packed = packRGBA(r, g, b, a); result.textContent = packed; copy.textContent = "Copy"; }; copy.onclick = function() { if (result.textContent !== "-") { navigator.clipboard.writeText(result.textContent).then(function() { copy.textContent = "Copied!"; setTimeout(function() { copy.textContent = "Copy"; }, 2000); }).catch(function(err) { console.error("Failed to copy:", err); }); } }; })();

The only color picker site for Animal Jam! - Available for free, forever!


Background image provided by Animal Jam Archives
We are not affiliated or endorsed by Wild Works LLC. All Animal Jam copyright is owned by them. This is for educational & entertainment purposes only.

Trans rights are human rights - Free Palestine


-

(function() { var calculate = document.getElementById("calculate"); var copy = document.getElementById("copyButton"); var result = document.getElementById("result"); function packRGBA(r, g, b, a) { return (r << 24 | g << 16 | b << 8 | a) >>> 0; } calculate.onclick = function() { var r = Math.min(Math.max(parseInt(document.getElementById("r").value) || 0, 0), 255); var g = Math.min(Math.max(parseInt(document.getElementById("g").value) || 0, 0), 255); var b = Math.min(Math.max(parseInt(document.getElementById("b").value) || 0, 0), 255); var a = Math.min(Math.max(parseInt(document.getElementById("a").value) || 0, 0), 255); var packed = packRGBA(r, g, b, a); result.textContent = packed; copy.textContent = "Copy"; }; copy.onclick = function() { if (result.textContent !== "-") { navigator.clipboard.writeText(result.textContent).then(function() { copy.textContent = "Copied!"; setTimeout(function() { copy.textContent = "Copy"; }, 2000); }).catch(function(err) { console.error("Failed to copy:", err); }); } }; })();