[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/vendor/splitbrain/lesserphp/src/Functions/ -> ColorDefinition.php (summary)

(no description)

File Size: 71 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ColorDefinition:: (3 methods):
  getFunctions()
  rgbahex()
  argb()


Class: ColorDefinition  - X-Ref

Implements the color definition functions of LESS

getFunctions()   X-Ref
No description

rgbahex(array $color)   X-Ref
Creates a hex representation of a color in #AARRGGBB format (NOT #RRGGBBAA!)

This method does not exist in the official less.js implementation
see: lib_argb

argb(array $color)   X-Ref
Creates a hex representation of a color in #AARRGGBB format (NOT #RRGGBBAA!)