Docs Colours

Colours

You can use the library via JSDelivr at https://cdn.jsdelivr.net/gh/latapals/colours/colours.js.

Examples

Converting colours

You can convert colours by making a new colour with the old colour as the parameter. The colour classes are smart and can differentiate colours (1 parameter) from the typical parameters.

new RGBA(new HEX("#1177ff")).value // Returns rgba(17, 119, 255, 1)

Credits

Made by Aetinx.

Latapals Colours by Latapals is licensed under CC BY-ND 4.0


Some pages in this collection: