\ManiaControl\UtilsColorUtil

Utility Class offering Methods to convert and use ManiaPlanet Colors

Summary

Methods
Properties
Constants
getUsageInformation()
floatToStatusColor()
floatToCode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getUsageInformation()

getUsageInformation() 

Gets Information about the Class, and a List of the Public Method

floatToStatusColor()

floatToStatusColor(float  $value) : string

Convert the given float value to a color code from red to green

Parameters

float $value

Returns

string

floatToCode()

floatToCode(float  $value) : string

Get hex color representation of the float

Parameters

float $value

Returns

string