npm.io
0.0.7 • Published 6 years ago

@magic-circle/colors

Licence
MIT
Version
0.0.7
Deps
1
Size
5 kB
Vulns
1
Weekly
0
Stars
47
DeprecatedThis package is deprecated

@CreativeControls/Colors

Helper for handling colors used internally by the editor.

Example

import Color from '@magic-circle/colors';

const red = new Color('#ff0000');
console.log(red.toObject());
// output: {r: 255, g: 255, b: 255}

Keywords