UNPKG

advanced-color-utils

Version:

Unleash the full potential of color manipulation with the ColorUtils library! Designed for developers who need precise control over color processing.

10 lines 418 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.generateRandomColor = generateRandomColor; function generateRandomColor() { const r = Math.floor(Math.random() * 256); const g = Math.floor(Math.random() * 256); const b = Math.floor(Math.random() * 256); return `#${(1 << 24 | r << 16 | g << 8 | b).toString(16).slice(1)}`; } //# sourceMappingURL=generateColor.js.map