PhpSpreadsheet/tests/data/Style/ColorGetRed.php

36 lines
411 B
PHP

<?php
return [
// RGBA (hex)
[
'FFAABBCC',
'AA',
],
// RGBA (decimal)
[
'FFAABBCC',
false,
170,
],
// RGB (hex)
[
'AABBCC',
'AA',
],
// RGB (decimal)
[
'AABBCC',
false,
170,
],
[
'00FFFF',
'00',
],
[
'00FFFF',
false,
0,
],
];