Cool code from 2006, works in 2024, unmodified! https://www.php.net/manual/en/function.hexdec.php#66780


Demanded steps = 44
Returned steps = 44
OK.44 = 44
1
FF0000
2
FF0500
3
FF0B00
4
FF1100
5
FF1700
6
FF1C00
7
FF2200
8
FF2800
9
FF2E00
10
FF3400
11
FF3900
12
FF3F00
13
FF4500
14
FF4B00
15
FF5100
16
FF5600
17
FF5C00
18
FF6200
19
FF6800
20
FF6E00
21
FF7300
22
FF7900
23
FF7F00
24
FF8500
25
FF8B00
26
FF9000
27
FF9600
28
FF9C00
29
FFA200
30
FFA800
31
FFAD00
32
FFB300
33
FFB900
34
FFBF00
35
FFC500
36
FFCA00
37
FFD000
38
FFD600
39
FFDC00
40
FFE200
41
FFE700
42
FFED00
43
FFF300
44
FFFF00



Demanded steps = 44
Returned steps = 44
OK.44 = 44
1
FF0000
2
FF0B00
3
FF1700
4
FF2200
5
FF2E00
6
FF3900
7
FF4500
8
FF5100
9
FF5C00
10
FF6800
11
FF7300
12
FF7F00
13
FF8B00
14
FF9600
15
FFA200
16
FFAD00
17
FFB900
18
FFC500
19
FFD000
20
FFDC00
21
FFE700
22
FFFF00
23
F3FF00
24
E7FF00
25
DCFF00
26
D0FF00
27
C5FF00
28
B9FF00
29
ADFF00
30
A2FF00
31
96FF00
32
8BFF00
33
7FFF00
34
73FF00
35
68FF00
36
5CFF00
37
51FF00
38
45FF00
39
39FF00
40
2EFF00
41
22FF00
42
17FF00
43
0BFF00
44
00FF00



Demanded steps = 44
Returned steps = 44
OK.44 = 44
1
FF0000
2
FF1100
3
FF2200
4
FF3300
5
FF4400
6
FF5500
7
FF6600
8
FF7700
9
FF8800
10
FF9900
11
FFAA00
12
FFBB00
13
FFCC00
14
FFDD00
15
FFFF00
16
EEFF00
17
DDFF00
18
CCFF00
19
BBFF00
20
AAFF00
21
99FF00
22
88FF00
23
77FF00
24
66FF00
25
55FF00
26
44FF00
27
33FF00
28
22FF00
29
11FF00
30
00FF00
31
00FF12
32
00FF24
33
00FF36
34
00FF48
35
00FF5B
36
00FF6D
37
00FF7F
38
00FF91
39
00FFA3
40
00FFB6
41
00FFC8
42
00FFDA
43
00FFEC
44
00FFFF



Demanded steps = 44
Returned steps = 44
OK.44 = 44
1
FF0000
2
FF1700
3
FF2E00
4
FF4500
5
FF5C00
6
FF7300
7
FF8B00
8
FFA200
9
FFB900
10
FFD000
11
FFFF00
12
E7FF00
13
D0FF00
14
B9FF00
15
A2FF00
16
8BFF00
17
73FF00
18
5CFF00
19
45FF00
20
2EFF00
21
17FF00
22
00FF00
23
00FF17
24
00FF2E
25
00FF45
26
00FF5C
27
00FF73
28
00FF8B
29
00FFA2
30
00FFB9
31
00FFD0
32
00FFE7
33
00FFFF
34
00E7FF
35
00D0FF
36
00B9FF
37
00A2FF
38
008BFF
39
0073FF
40
005CFF
41
0045FF
42
002EFF
43
0017FF
44
0000FF



Demanded steps = 44
Returned steps = 44
OK.44 = 44
1
FF0000
2
FF1C00
3
FF3800
4
FF5500
5
FF7100
6
FF8D00
7
FFAA00
8
FFC600
9
FFFF00
10
E2FF00
11
C6FF00
12
AAFF00
13
8DFF00
14
71FF00
15
55FF00
16
38FF00
17
1CFF00
18
00FF00
19
00FF1C
20
00FF38
21
00FF55
22
00FF71
23
00FF8D
24
00FFAA
25
00FFC6
26
00FFE2
27
00FFFF
28
00E2FF
29
00C6FF
30
00AAFF
31
008DFF
32
0071FF
33
0055FF
34
0038FF
35
001CFF
36
0000FF
37
0000DF
38
0000BF
39
00009F
40
00007F
41
00005F
42
00003F
43
00001F
44
000000



Demanded steps = 44
Returned steps = 44
OK.44 = 44
1
FF0000
2
FF1F00
3
FF3F00
4
FF5F00
5
FF7F00
6
FF9F00
7
FFBF00
8
FFFF00
9
DFFF00
10
BFFF00
11
9FFF00
12
7FFF00
13
5FFF00
14
3FFF00
15
1FFF00
16
00FF00
17
00FF24
18
00FF48
19
00FF6D
20
00FF91
21
00FFB6
22
00FFDA
23
00FFFF
24
00DAFF
25
00B6FF
26
0091FF
27
006DFF
28
0048FF
29
0024FF
30
0000FF
31
0000DA
32
0000B6
33
000091
34
00006D
35
000048
36
000024
37
000000
38
242424
39
484848
40
6D6D6D
41
919191
42
B6B6B6
43
DADADA
44
FFFFFF