vanillajs-helpers

Collection of convenience code snippets (helpers) that aims to make it a little easier to work with vanilla JS

View the Project on GitHub Tokimon/vanillajs-helpers

vanillajs-helpers > “randomRGBColor”

External module: “randomRGBColor”

Index

Functions


Functions

c

c(): number

Defined in randomRGBColor.ts:1

Returns: number


randomRGBColor

randomRGBColor(): number[]

Defined in randomRGBColor.ts:14

Generate a random RGB color

randomRGBColor(); // -> eg. [169, 100, 52]

Returns: number[]