getByColor

public static DyeColor getByColor(Color color)

Gets the DyeColor with the given color value.

Return

The DyeColor representing the given value, or null if it doesn't exist

Parameters

color

Color value to get the dye by