public static function PHPExcel_Style_Color::getGreen in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Color.php \PHPExcel_Style_Color::getGreen()
* Get the green colour component of an RGB value * *
Parameters
string $RGB The colour as an RGB value (e.g. FF00CCCC or CCDDEE: * @param boolean $hex Flag indicating whether the component should be returned as a hex or a * decimal value * @return string The green colour component
1 call to PHPExcel_Style_Color::getGreen()
- PHPExcel_Style_Color::changeBrightness in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Style/ Color.php - * Adjust the brightness of a color * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Style/ Color.php, line 277
Class
- PHPExcel_Style_Color
- PHPExcel_Style_Color
Code
public static function getGreen($RGB, $hex = TRUE) {
return self::_getColourComponent($RGB, strlen($RGB) - 4, $hex);
}