Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


yellow

Color Preset of RGBA(1f, 0.92f, 0.016f, 1f).
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Color yellow { get; }

Remarks

This is not a fully saturated yellow secondary color, however, in later versions of Unity this will be changed to be a value of
RGBA(1f, 1f, 0f, 1f)
.
If you wish to maintain the current value of Color.yellow in the future then consider using Color.yellowNice instead.