cloudflare
tcp/443 tcp/80 tcp/8443
Open service 2606:4700:7::60:8443 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 522 Date: Mon, 12 Jan 2026 23:43:14 GMT Content-Type: text/plain; charset=UTF-8 Content-Length: 15 Connection: close X-Frame-Options: SAMEORIGIN Referrer-Policy: same-origin Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 01 Jan 1970 00:00:01 GMT Server: cloudflare CF-RAY: 9bd0835a2ba11a0f-SJC alt-svc: h3=":8443"; ma=86400 error code: 522
Open service 172.66.0.96:443 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 200 OK
Date: Mon, 12 Jan 2026 23:42:53 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
CF-RAY: 9bd0835348ecd242-FRA
last-modified: Sun, 24 Nov 2024 12:21:10 GMT
x-rgw-object-type: Normal
x-amz-request-id: tx00000ecfd4f08a0adf72e-00696586fb-1b60a48a-fra1c
Cache-Control: public,max-age=10,s-maxage=86400
x-do-app-origin: 7251617c-8842-48bb-96a6-d27b1752cc96
x-do-orig-status: 200
CF-Cache-Status: HIT
Age: 2
Accept-Ranges: bytes
Set-Cookie: __cf_bm=bTwzVmKUlRk_HWlxnOKeDS7nW7PDIz3Ilj_mK6t8Zr4-1768261373-1.0.1.1-g6swPukWoSnK31uQcbGX0IXRHdtKnbyDNIZ0bZnK5Un4GzbTh1_b2FZwIsJt1aPjSVzIsddRypWabyCKtxUmRMPqT8b6rK3lZRLEDBqTg1s; path=/; expires=Tue, 13-Jan-26 00:12:53 GMT; domain=.static.editricetoni.it; HttpOnly; Secure; SameSite=None
Server: cloudflare
alt-svc: h3=":443"; ma=86400
Page title: #000000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>#000000</title>
<link type="image/x-icon" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAHklEQVQ4T2NkYGD4z0ABYBw1gGE0DBhGw4BhWIQBAE5OEAELnjVHAAAAAElFTkSuQmCC">
<style>
:root {
--color: #000000;
--color-transparent: #00000022;
}
::selection {
background: var(--color-transparent);
}
html,
body {
background: var(--color);
height: 100%;
margin: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
#color {
background: white;
color: var(--color);
font-size: 2.5rem;
font-weight: 300;
padding: 2.25rem 3rem;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
cursor: text;
}
</style>
</head>
<body>
<p id="color">#000000</p>
<script>
function randomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1) + min);
}
function hslToHex(h, s, l) {
h /= 360;
s /= 100;
l /= 100;
var r = void 0,
g = void 0,
b = void 0;
if (s === 0) {
r = g = b = l; // achromatic
} else {
var hue2rgb = function hue2rgb(p, q, t) {
if (t < 0) t += 1;
if (t > 1) t -= 1;
if (t < 1 / 6) return p + (q - p) * 6 * t;
if (t < 1 / 2) return q;
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
return p;
};
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
var p = 2 * l - q;
r = hue2rgb(p, q, h + 1 / 3);
g = hue2rgb(p, q, h);
b = hue2rgb(p, q, h - 1 / 3);
}
var toHex = function toHex(x) {
var hex = Math.round(x * 255).toString(16);
return hex.length === 1 ? '0' + hex : hex;
};
return '#' + toHex(r) + toHex(g) + toHex(b);
}
window.onload = function () {
let stopProp = function (ev) {
ev.stopPropagation();
}
var colorElement = document.getElementById("color");
colorElement.addEventListener("click", stopProp, false);
colorElement.addEventListener("mousedown", stopProp, false);
var setFavicon = function (hex) {
var canvas = document.createElement('canvas');
canvas.width = 16;
canvas.height = 16;
var ctx = canvas.getContext('2d');
ctx.fillStyle = hex;
ctx.fillRect(0, 0, 16, 16);
document.getElementsByTagName('link')[0].href = canvas.toDataURL("image/x-icon");
}
var setRandomColor = function setRandomColor() {
var h = void 0,
s = void 0,
l = void 0;
h = randomInt(0, 359);
s = randomInt(55, 75);
l = randomInt(40, 60);
document.documentElement.style.setProperty('--color', 'hsl(' + h + ', ' + s + '%, ' + l + '%)');
var hex = hslToHex(h, s, l);
document.title = hex;
colorElement.innerHTML = hex;
document.documentElement.style.setProperty('--color-transparent', hex + '22');
setFavicon(hex);
};
setRandomColor();
var body = document.getEle
Open service 162.159.140.98:8443 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 522 Date: Mon, 12 Jan 2026 23:43:14 GMT Content-Type: text/plain; charset=UTF-8 Content-Length: 15 Connection: close X-Frame-Options: SAMEORIGIN Referrer-Policy: same-origin Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 01 Jan 1970 00:00:01 GMT Server: cloudflare CF-RAY: 9bd083598e345930-EWR alt-svc: h3=":8443"; ma=86400 error code: 522
Open service 162.159.140.98:80 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 301 Moved Permanently Date: Mon, 12 Jan 2026 23:42:53 GMT Content-Type: text/html Content-Length: 167 Connection: close Cache-Control: max-age=3600 Expires: Tue, 13 Jan 2026 00:42:53 GMT Location: https://static.editricetoni.it/ Set-Cookie: __cf_bm=qK.Nv1iC56lUFcIKqdJxDcX8CYMHRr6EK8GcXDxKqSI-1768261373-1.0.1.1-n53vQ1Qmsr0dd6K58vuEtmsxOPfgKp0yN2D5HfrYwiDn2PQi1hGtEuBZso_WvfmivB2bKbo6PAlFP5vwT3H6viOQV.IS1Zm0KtX2af2NXks; path=/; expires=Tue, 13-Jan-26 00:12:53 GMT; domain=.static.editricetoni.it; HttpOnly Server: cloudflare CF-RAY: 9bd083530d552bac-FRA alt-svc: h3=":443"; ma=86400 Page title: 301 Moved Permanently <html> <head><title>301 Moved Permanently</title></head> <body> <center><h1>301 Moved Permanently</h1></center> <hr><center>cloudflare</center> </body> </html>
Open service 162.159.140.98:443 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 200 OK
Date: Mon, 12 Jan 2026 23:42:53 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
CF-RAY: 9bd08352bfc1f457-SJC
last-modified: Sun, 24 Nov 2024 12:21:10 GMT
x-rgw-object-type: Normal
x-amz-request-id: tx00000f2c61e5c0ed1a5c0-00696577b3-1b60a48a-fra1c
Cache-Control: public,max-age=10,s-maxage=86400
x-do-app-origin: 7251617c-8842-48bb-96a6-d27b1752cc96
x-do-orig-status: 200
CF-Cache-Status: HIT
Age: 2
Accept-Ranges: bytes
Set-Cookie: __cf_bm=A8sIAny19uD_Xpho8D_2f6pcu.x6.eM9PK1Rop3MVpM-1768261373-1.0.1.1-EL_v1bUVjcKMblkHK_zYBxgmPh232Kz68Hq_2I6VMGwbRpaR6VpLCnYFyuE8rLbB64xfVei.K2_LbQYZSvzfsCTjizKVwYgnjGUV1cheiXA; path=/; expires=Tue, 13-Jan-26 00:12:53 GMT; domain=.static.editricetoni.it; HttpOnly; Secure; SameSite=None
Server: cloudflare
alt-svc: h3=":443"; ma=86400
Page title: #000000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>#000000</title>
<link type="image/x-icon" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAHklEQVQ4T2NkYGD4z0ABYBw1gGE0DBhGw4BhWIQBAE5OEAELnjVHAAAAAElFTkSuQmCC">
<style>
:root {
--color: #000000;
--color-transparent: #00000022;
}
::selection {
background: var(--color-transparent);
}
html,
body {
background: var(--color);
height: 100%;
margin: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
#color {
background: white;
color: var(--color);
font-size: 2.5rem;
font-weight: 300;
padding: 2.25rem 3rem;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
cursor: text;
}
</style>
</head>
<body>
<p id="color">#000000</p>
<script>
function randomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1) + min);
}
function hslToHex(h, s, l) {
h /= 360;
s /= 100;
l /= 100;
var r = void 0,
g = void 0,
b = void 0;
if (s === 0) {
r = g = b = l; // achromatic
} else {
var hue2rgb = function hue2rgb(p, q, t) {
if (t < 0) t += 1;
if (t > 1) t -= 1;
if (t < 1 / 6) return p + (q - p) * 6 * t;
if (t < 1 / 2) return q;
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
return p;
};
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
var p = 2 * l - q;
r = hue2rgb(p, q, h + 1 / 3);
g = hue2rgb(p, q, h);
b = hue2rgb(p, q, h - 1 / 3);
}
var toHex = function toHex(x) {
var hex = Math.round(x * 255).toString(16);
return hex.length === 1 ? '0' + hex : hex;
};
return '#' + toHex(r) + toHex(g) + toHex(b);
}
window.onload = function () {
let stopProp = function (ev) {
ev.stopPropagation();
}
var colorElement = document.getElementById("color");
colorElement.addEventListener("click", stopProp, false);
colorElement.addEventListener("mousedown", stopProp, false);
var setFavicon = function (hex) {
var canvas = document.createElement('canvas');
canvas.width = 16;
canvas.height = 16;
var ctx = canvas.getContext('2d');
ctx.fillStyle = hex;
ctx.fillRect(0, 0, 16, 16);
document.getElementsByTagName('link')[0].href = canvas.toDataURL("image/x-icon");
}
var setRandomColor = function setRandomColor() {
var h = void 0,
s = void 0,
l = void 0;
h = randomInt(0, 359);
s = randomInt(55, 75);
l = randomInt(40, 60);
document.documentElement.style.setProperty('--color', 'hsl(' + h + ', ' + s + '%, ' + l + '%)');
var hex = hslToHex(h, s, l);
document.title = hex;
colorElement.innerHTML = hex;
document.documentElement.style.setProperty('--color-transparent', hex + '22');
setFavicon(hex);
};
setRandomColor();
var body = document.getEle
Open service 172.66.0.96:8443 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 522 Date: Mon, 12 Jan 2026 23:43:14 GMT Content-Type: text/plain; charset=UTF-8 Content-Length: 15 Connection: close X-Frame-Options: SAMEORIGIN Referrer-Policy: same-origin Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 01 Jan 1970 00:00:01 GMT Server: cloudflare CF-RAY: 9bd08358eaaa1d7b-YYZ alt-svc: h3=":8443"; ma=86400 error code: 522
Open service 2606:4700:7::60:80 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 301 Moved Permanently Date: Mon, 12 Jan 2026 23:42:53 GMT Content-Type: text/html Content-Length: 167 Connection: close Cache-Control: max-age=3600 Expires: Tue, 13 Jan 2026 00:42:53 GMT Location: https://static.editricetoni.it/ Set-Cookie: __cf_bm=cuHXboeuIq4P7KgNUluG_gVO0Mmk95ND7qAcRUCe_Lc-1768261373-1.0.1.1-.gTZTL3NWgcwZd1yUsYwKTjX2O.L.tJ7lgYKlCGGDr_9LdVXOBW4oHrrEddYUezToxZdYveINJLyhCvq960sHe6gm3IEILyWYhTzj3QnqJI; path=/; expires=Tue, 13-Jan-26 00:12:53 GMT; domain=.static.editricetoni.it; HttpOnly Server: cloudflare CF-RAY: 9bd08352f9d9c8b1-YYZ alt-svc: h3=":443"; ma=86400 Page title: 301 Moved Permanently <html> <head><title>301 Moved Permanently</title></head> <body> <center><h1>301 Moved Permanently</h1></center> <hr><center>cloudflare</center> </body> </html>
Open service 2606:4700:7::60:443 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 200 OK
Date: Mon, 12 Jan 2026 23:42:53 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
CF-RAY: 9bd08352ecafc4fb-EWR
last-modified: Sun, 24 Nov 2024 12:21:10 GMT
x-rgw-object-type: Normal
x-amz-request-id: tx000002152364db38e0060-006964db78-1b60a48a-fra1c
Cache-Control: public,max-age=10,s-maxage=86400
x-do-app-origin: 7251617c-8842-48bb-96a6-d27b1752cc96
x-do-orig-status: 200
CF-Cache-Status: HIT
Age: 43909
Accept-Ranges: bytes
Set-Cookie: __cf_bm=_v693SPaZXuEfUh3NhLVblzmaFWbkAXsm9O.TklxYcU-1768261373-1.0.1.1-onuGN6v92o3jHBpPiGVs69Xwwjctw0k8JcRJll9H39x9wCQXTQC.n75ZTrgisbg4N54t_Yq4jiARADl_c22YaWWo6aKWG8x5mAoabqogjIY; path=/; expires=Tue, 13-Jan-26 00:12:53 GMT; domain=.static.editricetoni.it; HttpOnly; Secure; SameSite=None
Server: cloudflare
alt-svc: h3=":443"; ma=86400
Page title: #000000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>#000000</title>
<link type="image/x-icon" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAHklEQVQ4T2NkYGD4z0ABYBw1gGE0DBhGw4BhWIQBAE5OEAELnjVHAAAAAElFTkSuQmCC">
<style>
:root {
--color: #000000;
--color-transparent: #00000022;
}
::selection {
background: var(--color-transparent);
}
html,
body {
background: var(--color);
height: 100%;
margin: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
#color {
background: white;
color: var(--color);
font-size: 2.5rem;
font-weight: 300;
padding: 2.25rem 3rem;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
cursor: text;
}
</style>
</head>
<body>
<p id="color">#000000</p>
<script>
function randomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1) + min);
}
function hslToHex(h, s, l) {
h /= 360;
s /= 100;
l /= 100;
var r = void 0,
g = void 0,
b = void 0;
if (s === 0) {
r = g = b = l; // achromatic
} else {
var hue2rgb = function hue2rgb(p, q, t) {
if (t < 0) t += 1;
if (t > 1) t -= 1;
if (t < 1 / 6) return p + (q - p) * 6 * t;
if (t < 1 / 2) return q;
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
return p;
};
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
var p = 2 * l - q;
r = hue2rgb(p, q, h + 1 / 3);
g = hue2rgb(p, q, h);
b = hue2rgb(p, q, h - 1 / 3);
}
var toHex = function toHex(x) {
var hex = Math.round(x * 255).toString(16);
return hex.length === 1 ? '0' + hex : hex;
};
return '#' + toHex(r) + toHex(g) + toHex(b);
}
window.onload = function () {
let stopProp = function (ev) {
ev.stopPropagation();
}
var colorElement = document.getElementById("color");
colorElement.addEventListener("click", stopProp, false);
colorElement.addEventListener("mousedown", stopProp, false);
var setFavicon = function (hex) {
var canvas = document.createElement('canvas');
canvas.width = 16;
canvas.height = 16;
var ctx = canvas.getContext('2d');
ctx.fillStyle = hex;
ctx.fillRect(0, 0, 16, 16);
document.getElementsByTagName('link')[0].href = canvas.toDataURL("image/x-icon");
}
var setRandomColor = function setRandomColor() {
var h = void 0,
s = void 0,
l = void 0;
h = randomInt(0, 359);
s = randomInt(55, 75);
l = randomInt(40, 60);
document.documentElement.style.setProperty('--color', 'hsl(' + h + ', ' + s + '%, ' + l + '%)');
var hex = hslToHex(h, s, l);
document.title = hex;
colorElement.innerHTML = hex;
document.documentElement.style.setProperty('--color-transparent', hex + '22');
setFavicon(hex);
};
setRandomColor();
var body = document.getEle
Open service 2a06:98c1:58::60:80 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 301 Moved Permanently Date: Mon, 12 Jan 2026 23:42:53 GMT Content-Type: text/html Content-Length: 167 Connection: close Cache-Control: max-age=3600 Expires: Tue, 13 Jan 2026 00:42:53 GMT Location: https://static.editricetoni.it/ Set-Cookie: __cf_bm=Hp.QRl8W9EWyQg65NmB6JuUJKalcBBiwmFSdq9M6F2Y-1768261373-1.0.1.1-_xXlEPql3YFceLMiFghZIqQrrHsSPQ6wVHg9PgWdYRvlKLyEvFZx77bL1JtOL.t.6T7RNDpGZPMMb5nLpWNeG4roTP3ObAHS8FzpQGu_nTQ; path=/; expires=Tue, 13-Jan-26 00:12:53 GMT; domain=.static.editricetoni.it; HttpOnly Server: cloudflare CF-RAY: 9bd08352485ba9c3-BLR alt-svc: h3=":443"; ma=86400 Page title: 301 Moved Permanently <html> <head><title>301 Moved Permanently</title></head> <body> <center><h1>301 Moved Permanently</h1></center> <hr><center>cloudflare</center> </body> </html>
Open service 172.66.0.96:80 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 301 Moved Permanently Date: Mon, 12 Jan 2026 23:42:53 GMT Content-Type: text/html Content-Length: 167 Connection: close Cache-Control: max-age=3600 Expires: Tue, 13 Jan 2026 00:42:53 GMT Location: https://static.editricetoni.it/ Set-Cookie: __cf_bm=tl3yJ16B7vWHAoZn7Pb6u7lUzAED4UkTXR_wrHuoD_k-1768261373-1.0.1.1-bY0S6X_l9QpSSxgDh9gS2XeDiFwvfEd1OhkOglVw_C7oL.JkelU_JgeTW1B31JgQbUt1k9vPYy_CAktEVnjcgJtkauyZqRIfsXW36SiYLgg; path=/; expires=Tue, 13-Jan-26 00:12:53 GMT; domain=.static.editricetoni.it; HttpOnly Server: cloudflare CF-RAY: 9bd083527864873a-LHR alt-svc: h3=":443"; ma=86400 Page title: 301 Moved Permanently <html> <head><title>301 Moved Permanently</title></head> <body> <center><h1>301 Moved Permanently</h1></center> <hr><center>cloudflare</center> </body> </html>
Open service 2a06:98c1:58::60:8443 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 522 Date: Mon, 12 Jan 2026 23:43:14 GMT Content-Type: text/plain; charset=UTF-8 Content-Length: 15 Connection: close X-Frame-Options: SAMEORIGIN Referrer-Policy: same-origin Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 01 Jan 1970 00:00:01 GMT Server: cloudflare CF-RAY: 9bd083588afebe6f-LHR alt-svc: h3=":8443"; ma=86400 error code: 522
Open service 2a06:98c1:58::60:443 · static.editricetoni.it
2026-01-12 23:42
HTTP/1.1 200 OK
Date: Mon, 12 Jan 2026 23:42:53 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
CF-RAY: 9bd0835309529bac-FRA
last-modified: Sun, 24 Nov 2024 12:21:10 GMT
x-rgw-object-type: Normal
x-amz-request-id: tx00000ecfd4f08a0adf72e-00696586fb-1b60a48a-fra1c
Cache-Control: public,max-age=10,s-maxage=86400
x-do-app-origin: 7251617c-8842-48bb-96a6-d27b1752cc96
x-do-orig-status: 200
CF-Cache-Status: HIT
Age: 2
Accept-Ranges: bytes
Set-Cookie: __cf_bm=WFERWKnnqHpFC4L0Vd3mBMemMrkk4JWlgHY1zg1Ei3k-1768261373-1.0.1.1-Sy9bKdyxsbFavHecur1qAig1BAFRXbuNC9RxS4hw.w85hVLCCt_yJPISzh.W5tdyxoWAcl8MVwXAxrwBmonXWvYiTkqVxV6qniPsSxtvKQ8; path=/; expires=Tue, 13-Jan-26 00:12:53 GMT; domain=.static.editricetoni.it; HttpOnly; Secure; SameSite=None
Server: cloudflare
alt-svc: h3=":443"; ma=86400
Page title: #000000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>#000000</title>
<link type="image/x-icon" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAHklEQVQ4T2NkYGD4z0ABYBw1gGE0DBhGw4BhWIQBAE5OEAELnjVHAAAAAElFTkSuQmCC">
<style>
:root {
--color: #000000;
--color-transparent: #00000022;
}
::selection {
background: var(--color-transparent);
}
html,
body {
background: var(--color);
height: 100%;
margin: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
#color {
background: white;
color: var(--color);
font-size: 2.5rem;
font-weight: 300;
padding: 2.25rem 3rem;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
cursor: text;
}
</style>
</head>
<body>
<p id="color">#000000</p>
<script>
function randomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1) + min);
}
function hslToHex(h, s, l) {
h /= 360;
s /= 100;
l /= 100;
var r = void 0,
g = void 0,
b = void 0;
if (s === 0) {
r = g = b = l; // achromatic
} else {
var hue2rgb = function hue2rgb(p, q, t) {
if (t < 0) t += 1;
if (t > 1) t -= 1;
if (t < 1 / 6) return p + (q - p) * 6 * t;
if (t < 1 / 2) return q;
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
return p;
};
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
var p = 2 * l - q;
r = hue2rgb(p, q, h + 1 / 3);
g = hue2rgb(p, q, h);
b = hue2rgb(p, q, h - 1 / 3);
}
var toHex = function toHex(x) {
var hex = Math.round(x * 255).toString(16);
return hex.length === 1 ? '0' + hex : hex;
};
return '#' + toHex(r) + toHex(g) + toHex(b);
}
window.onload = function () {
let stopProp = function (ev) {
ev.stopPropagation();
}
var colorElement = document.getElementById("color");
colorElement.addEventListener("click", stopProp, false);
colorElement.addEventListener("mousedown", stopProp, false);
var setFavicon = function (hex) {
var canvas = document.createElement('canvas');
canvas.width = 16;
canvas.height = 16;
var ctx = canvas.getContext('2d');
ctx.fillStyle = hex;
ctx.fillRect(0, 0, 16, 16);
document.getElementsByTagName('link')[0].href = canvas.toDataURL("image/x-icon");
}
var setRandomColor = function setRandomColor() {
var h = void 0,
s = void 0,
l = void 0;
h = randomInt(0, 359);
s = randomInt(55, 75);
l = randomInt(40, 60);
document.documentElement.style.setProperty('--color', 'hsl(' + h + ', ' + s + '%, ' + l + '%)');
var hex = hslToHex(h, s, l);
document.title = hex;
colorElement.innerHTML = hex;
document.documentElement.style.setProperty('--color-transparent', hex + '22');
setFavicon(hex);
};
setRandomColor();
var body = document.getEle