Commit b869c448 authored by Zéfling's avatar Zéfling 🎨

Fix errors in ColorData interface

parent 068f2467
......@@ -19,13 +19,13 @@ export interface HSV {
}
export interface ColorData {
// RGB
/** Red color value [-256,255] */ r: number;
/** Green color value [-256,255] */ g: number;
/** Blue color value [-256,255] */ b: number;
/** Red color value [-256,255] */ r?: number;
/** Green color value [-256,255] */ g?: number;
/** Blue color value [-256,255] */ b?: number;
// HSV/HSL
/** Hue value [-360,360] */ h: number;
/** Saluration value [-100,100] */ s: number;
/** Value/lightness value [-100,100] */ v: number;
/** Hue value [-360,360] */ h?: number;
/** Saluration value [-100,100] */ s?: number;
/** Value/lightness value [-100,100] */ v?: number;
// Other
/** luminosity value [-1,1] */ luminosity?: number;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment