JSFiddle - React, Tailwind, and code Playground
by Ufuk Ozdemir
JavaScript
var colorR = Math.floor((Math.random() * 256));
var colorG = Math.floor((Math.random() * 256));
var colorB = Math.floor((Math.random() * 256));
$('html').css("background-color", "rgb(" + colorR + "," + colorG + "," + colorB + ")");
var renk = '#'+Math.floor(Math.random()*16777215).toString(16);
$('html').css("background-color", renk);