Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DominantColor

import type { DominantColor } from "https://aws-api.deno.dev/v0.4/services/rekognition.ts?docs=full";

A description of the dominant colors in an image.

interface DominantColor {
Blue?: number | null;
CSSColor?: string | null;
Green?: number | null;
HexCode?: string | null;
PixelPercent?: number | null;
Red?: number | null;
SimplifiedColor?: string | null;
}

§Properties

§
Blue?: number | null
[src]

The Blue RGB value for a dominant color.

§
CSSColor?: string | null
[src]

The CSS color name of a dominant color.

§
Green?: number | null
[src]

The Green RGB value for a dominant color.

§
HexCode?: string | null
[src]

The Hex code equivalent of the RGB values for a dominant color.

§
PixelPercent?: number | null
[src]

The percentage of image pixels that have a given dominant color.

§
Red?: number | null
[src]

The Red RGB value for a dominant color.

§
SimplifiedColor?: string | null
[src]

One of 12 simplified color names applied to a dominant color.