Overview

Classes

  • Card
  • CardRegular
  • Component
  • ComponentAvatar
  • ComponentFlag
  • ComponentImage
  • ComponentLabel
  • ComponentXPBar
  • ErrorImage
  • OsuAPI
  • OsuSignature
  • PredefinedColours
  • Signature
  • Template
  • TemplateNormal
  • Utils
  • Overview
  • Class

Class PredefinedColours

An array of named colours for backwards compatibility.

Author: Lemmmy
See: $predefinedColours
Located at PredefinedColours.php
Methods summary
public static string
# getPredefinedColour( string $colourName )

Gets whether or not a colour is named and predefined

Gets whether or not a colour is named and predefined

Parameters

$colourName
The colour to check

Returns

string
Hexadecimal colour code if predefined, $colourName if not.
API documentation generated by ApiGen