+ Config BTN
This commit is contained in:
@ -1713,4 +1713,13 @@ function number_format( number, decimals, dec_point, thousands_sep )
|
||||
|
||||
return km + kw + kd;
|
||||
}
|
||||
*/
|
||||
*/
|
||||
|
||||
//Получить случайное RGB в заданном промежутке
|
||||
function getRandomColor(start,end)
|
||||
{
|
||||
let r = Math.floor(Math.random() * (end-start)+start);
|
||||
let g = Math.floor(Math.random() * (end-start)+start);
|
||||
let b = Math.floor(Math.random() * (end-start)+start);
|
||||
return 'rgb('+r+','+g+','+b+')';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user