PhpSpreadsheet/tests/data/Style/ColorChangeBrightness.php

78 lines
941 B
PHP

<?php
return [
// RGBA
[
'FFB2C1D1',
'FFAABBCC',
0.1,
],
// RGBA
[
'FF99A8B7',
'FFAABBCC',
-0.1,
],
// RGB
[
'B2C1D1',
'AABBCC',
0.1,
],
[
'99A8B7',
'AABBCC',
-0.1,
],
[
'FF1919',
'FF0000',
0.1,
],
[
'E50000',
'FF0000',
-0.1,
],
[
'FF8C8C',
'FF8080',
0.1,
],
[
'E57373',
'FF8080',
-0.1,
],
[
'FF2626',
'FF0000',
0.15,
],
[
'D80000',
'FF0000',
-0.15,
],
[
'FF9393',
'FF8080',
0.15,
],
[
'D86C6C',
'FF8080',
-0.15,
],
[
'FFF783',
'FFF008',
0.5,
],
[
'7F7804',
'FFF008',
-0.5,
],
];