diff --git a/package.json b/package.json index b0e5dd1..6a58194 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@super-effective/colorutils", - "version": "2.0.0", + "version": "2.0.1", "description": "A color utility to help with converting between formats and getting color details", "keywords": [ "color", diff --git a/src/colorutils.ts b/src/colorutils.ts index 868fb6c..27ec48f 100644 --- a/src/colorutils.ts +++ b/src/colorutils.ts @@ -6,7 +6,7 @@ * @property {number} green - The green component of the color (0 - 255) * @property {number} blue - The blue component of the color (0 - 255) */ -type Rgb = { +export type Rgb = { red: number; green: number; blue: number; @@ -18,7 +18,7 @@ type Rgb = { * @property {number} saturation - The saturation the color (0.0 - 1.0) * @property {number} value - The value of the color (0.0 - 1.0) */ -type Hsv = { +export type Hsv = { hue: number; saturation: number; value: number;