import type { HSVColour } from "./types"; /** * Converts an RGB colour to HSV. * Conversion formula is based on the RGB to HSV conversion algorithm: * https://en.wikipedia.org/wiki/HSL_and_HSV#From_RGB * * https://www.niwa.nu/2013/05/math-behind-colorspace-conversions-rgb-hsl/ * - Hue (h) is calculated based on the maximum RGB value. * - Saturation (s) is the chroma divided by the maximum RGB value. * - Value (v) is the maximum RGB value. * @param r Red channel (0-255) * @param g Green channel (0-255) * @param b Blue channel (0-255) * @returns HSVColour object with h (hue), s (saturation), v (value) */ export declare function convertRGBtoHSV(r: number, g: number, b: number): HSVColour;