Skip to main content

Function: sourceHexColorFromImageUri()

sourceHexColorFromImageUri(uri, options?): Promise<string>

Defined in: modules/utils/image/source-hex-color-from-image-uri/source-hex-color-from-image-uri.native.ts:17

This is same as sourceColorFromImageUri, but the result is in Hex string that has been transformed on the native side.

Parameters

uri

string

Image uri file

options?

SourceColorFromImageProcessingOptions

Returns

Promise<string>

Hex color string