@delirius/welcard
Version:
WelCard is a lightweight and futuristic welcome card library designed for WhatsApp Bots.
12 lines (11 loc) • 538 B
TypeScript
/**
* Adjusts the brightness of an RGB color by a specified amount.
*
* @param r - The red component of the color (0-255).
* @param g - The green component of the color (0-255).
* @param b - The blue component of the color (0-255).
* @param adjustment - The amount to adjust the brightness by (can be positive or negative).
* @returns An array containing the adjusted RGB values.
*/
declare function adjustBrightness(r: number, g: number, b: number, adjustment: number): Promise<number[]>;
export { adjustBrightness };