기술 자료

Unity Engine

Download Unity

Unity Engine

ToHtmlStringRGBA

Returns the color as a hexadecimal string in the format "RRGGBBAA".
읽는 시간 1분최근 업데이트: 하루 전

Definition

ToHtmlStringRGBA(Color)

Returns the color as a hexadecimal string in the format "RRGGBBAA".
public static string ToHtmlStringRGBA(Color color)

Parameters

color

The color to be converted.

Returns

Type

Description

stringHexadecimal string representing the color.

Remarks

Additional Resources: ColorUtility.ToHtmlStringRGB.

ToHtmlStringRGBA(Color)

Returns the color as a hexadecimal string in the format "RRGGBBAA".
public static string ToHtmlStringRGBA(in Color color)

Parameters

color

The color to be converted.

Returns

Type

Description

stringHexadecimal string representing the color.

Remarks

Additional Resources: ColorUtility.ToHtmlStringRGB.