-
Notifications
You must be signed in to change notification settings - Fork 24
ColorMixin
CI edited this page Oct 3, 2020
·
5 revisions
This is an extension of Blizzard's own ColorMixin. Created using Color.Create.
This extends the original method by adding two additional properties,
self.colorStr and self.isAchromatic.
-
colorStr- the hex representation of the color (string) -
isAchromatic- weather or not the color is gray-scale (boolean)
This extends the original method by adding support for non-object colors.
See Color.Hue
See Color.Saturation
See Color.Lightness