共用方式為


The Color (Independent Publisher) (Preview)

The Color service allows you to pass in any valid color and get conversions into any other format, the name of the color, placeholder images and a multitude of schemes.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Troy Taylor
Website https://www.thecolorapi.com/
Privacy policy https://www.thecolorapi.com/
Categories Lifestyle and Entertainment

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Generate scheme

Return a generated scheme for the provided seed color and optional mode.

Get color

Return available identifying information on the given color.

Generate scheme

Return a generated scheme for the provided seed color and optional mode.

Parameters

Name Key Required Type Description
Hex
hex string

The hex value.

RGB
rgb string

The RGB value.

HSL
hsl string

The HSL value.

CMYK
cmyk string

The CMYK value.

Mode
mode string

The mode.

Count
count integer

The count.

Returns

Name Path Type Description
Mode
mode string

The mode.

Count
count string

The count.

Colors
colors array of object
Value
colors.hex.value string

The value.

Clean
colors.hex.clean string

The value without special character.

R
colors.rgb.fraction.r float

The R value.

G
colors.rgb.fraction.g float

The G value.

B
colors.rgb.fraction.b float

The B value.

R
colors.rgb.r integer

The R value.

G
colors.rgb.g integer

The G value.

B
colors.rgb.b integer

The B value.

Value
colors.rgb.value string

The value.

H
colors.hsl.fraction.h float

The H value.

S
colors.hsl.fraction.s float

The S value.

L
colors.hsl.fraction.l float

The L value.

H
colors.hsl.h integer

The H value.

S
colors.hsl.s integer

The S value.

L
colors.hsl.l integer

The L value.

Value
colors.hsl.value string

The value.

H
colors.hsv.fraction.h float

The H value.

S
colors.hsv.fraction.s float

The S value.

V
colors.hsv.fraction.v float

The V value.

Value
colors.hsv.value string

The value.

H
colors.hsv.h integer

The H value.

S
colors.hsv.s integer

The S value.

V
colors.hsv.v integer

The V value.

Value
colors.name.value string

The value.

Closest Named Hex
colors.name.closest_named_hex string

The closest name hex value.

Exact Match Name
colors.name.exact_match_name boolean

Whether the exact match is named.

Distance
colors.name.distance integer

The distance.

C
colors.cmyk.fraction.c float

The C value.

M
colors.cmyk.fraction.m float

The M value.

Y
colors.cmyk.fraction.y integer

The Y value.

K
colors.cmyk.fraction.k float

The K value.

Value
colors.cmyk.value string

The value.

C
colors.cmyk.c integer

The C value.

M
colors.cmyk.m integer

The M value.

Y
colors.cmyk.y integer

The Y value.

K
colors.cmyk.k integer

The K value.

X
colors.XYZ.fraction.X float

The X value.

Y
colors.XYZ.fraction.Y float

The Y value.

Z
colors.XYZ.fraction.Z float

The Z value.

Value
colors.XYZ.value string

The value.

X
colors.XYZ.X integer

The X value.

Y
colors.XYZ.Y integer

The Y value.

Z
colors.XYZ.Z integer

The Z value.

Bare
colors.image.bare string

The bare image.

Named
colors.image.named string

The named image.

Value
colors.contrast.value string

The value.

Href
colors._links.self.href string

The href.

Value
seed.hex.value string

The value.

Clean
seed.hex.clean string

The value without special character.

R
seed.rgb.fraction.r integer

The R value.

G
seed.rgb.fraction.g float

The G value.

B
seed.rgb.fraction.b float

The B value.

R
seed.rgb.r integer

The R value.

G
seed.rgb.g integer

The G value.

B
seed.rgb.b integer

The B value.

Value
seed.rgb.value string

The value.

H
seed.hsl.fraction.h float

The H value.

S
seed.hsl.fraction.s integer

The S value.

L
seed.hsl.fraction.l float

The L value.

H
seed.hsl.h integer

The H value.

S
seed.hsl.s integer

The S value.

L
seed.hsl.l integer

The L value.

Value
seed.hsl.value string

The value.

H
seed.hsv.fraction.h float

The H value.

S
seed.hsv.fraction.s integer

The S value.

V
seed.hsv.fraction.v float

The V value.

Value
seed.hsv.value string

The value.

H
seed.hsv.h integer

The H value.

S
seed.hsv.s integer

The S value.

V
seed.hsv.v integer

The V value.

Value
seed.name.value string

The value.

Closest Named Hex
seed.name.closest_named_hex string

The closest named hex value.

Exact Match Name
seed.name.exact_match_name boolean

Whether the exact match is named.

Distance
seed.name.distance integer

The distance.

C
seed.cmyk.fraction.c integer

The C value.

M
seed.cmyk.fraction.m float

The M value.

Y
seed.cmyk.fraction.y integer

The Y value.

K
seed.cmyk.fraction.k float

The K value.

Value
seed.cmyk.value string

The value.

C
seed.cmyk.c integer

The C value.

M
seed.cmyk.m integer

The M value.

Y
seed.cmyk.y integer

The Y value.

K
seed.cmyk.k integer

The K value.

X
seed.XYZ.fraction.X float

The X value.

Y
seed.XYZ.fraction.Y float

The Y value.

Z
seed.XYZ.fraction.Z float

The Z value.

Value
seed.XYZ.value string

The value.

X
seed.XYZ.X integer

The X value.

Y
seed.XYZ.Y integer

The Y value.

Z
seed.XYZ.Z integer

The Z value.

Bare
seed.image.bare string

The bare image.

Named
seed.image.named string

The named image.

Value
seed.contrast.value string

The value.

Href
seed._links.self.href string

The href.

Self
_links.self string

The self link.

Monochrome
_links.schemes.monochrome string

The monochrome link.

Monochrome-Dark
_links.schemes.monochrome-dark string

The monochrome-dark link.

Monochrome-Light
_links.schemes.monochrome-light string

The monochrome-light link.

Analogic
_links.schemes.analogic string

The analogic link.

Complement
_links.schemes.complement string

The complement link.

Analogic-Complement
_links.schemes.analogic-complement string

The analogic-complement link.

Triad
_links.schemes.triad string

The triad link.

Quad
_links.schemes.quad string

The quad link.

Get color

Return available identifying information on the given color.

Parameters

Name Key Required Type Description
Hex
hex string

The hex value.

RGB
rgb string

The RGB value.

HSL
hsl string

The HSL value.

CMYK
cmyk string

The CMYK value.

Returns

Name Path Type Description
Value
hex.value string

The value.

Clean
hex.clean string

The value with no special character.

R
rgb.fraction.r float

The R value.

G
rgb.fraction.g float

The G value.

B
rgb.fraction.b float

The B value.

R
rgb.r integer

The R value.

G
rgb.g integer

The G value.

B
rgb.b integer

The B value.

Value
rgb.value string

The value.

H
hsl.fraction.h float

The H value.

S
hsl.fraction.s float

The S value.

L
hsl.fraction.l float

The L value.

H
hsl.h integer

The H value.

S
hsl.s integer

The S value.

L
hsl.l integer

The L value.

Value
hsl.value string

The value.

H
hsv.fraction.h float

The H value.

S
hsv.fraction.s integer

The S value.

V
hsv.fraction.v float

The V value.

H
hsv.h integer

The H value.

S
hsv.s integer

The S value.

Value
hsv.value string

The value.

V
hsv.v integer

The V value.

Value
name.value string

The value.

Closest Named Hex
name.closest_named_hex string

The closest named hex color.

Exact Match Name
name.exact_match_name boolean

Whether the exact match is named.

Distance
name.distance integer

The distance.

C
cmyk.fraction.c float

The C value.

M
cmyk.fraction.m float

The M value.

Y
cmyk.fraction.y float

The Y value.

K
cmyk.fraction.k float

The K value.

Value
cmyk.value string

The value.

C
cmyk.c integer

The C value.

M
cmyk.m integer

The M value.

Y
cmyk.y integer

The Y value.

K
cmyk.k integer

The K value.

X
XYZ.fraction.X float

The X value.

Y
XYZ.fraction.Y float

The Y value.

Z
XYZ.fraction.Z float

The Z value.

Value
XYZ.value string

The value.

X
XYZ.X integer

The X value.

Y
XYZ.Y integer

The Y value.

Z
XYZ.Z integer

The Z value.

Bare
image.bare string

The bare value.

Named
image.named string

The named value.

Value
contrast.value string

The value.

Href
_links.self.href string

The href.