ドキュメント

Unity Engine

Unity Engine

ToHtmlStringRGB(Color)

Returns the color as a hexadecimal string in the format "RRGGBB".
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static string ToHtmlStringRGB(Color color)

Parameters

color

The color to be converted.

Returns

Type

Description

stringHexadecimal string representing the color.

Remarks

Additional Resources: ColorUtility.ToHtmlStringRGBA.