# Changing colors with parameter

I have the following code:

data = {};
Do[AppendTo[data, Reap[(...)]], {k, 0, 10, 0.5}];
ListPlot[data, ImageSize -> Full]


I'm collecting points with a changing parameter k. How can I change the brightness or the color of the points collected with a specific k according to the value of k?

• You might need to be a bit more specific about what's going on in the ... part of your code to get a useful answer. – aardvark2012 Nov 6 '17 at 4:50
• See, for instance, the answers to question 1300. – bbgodfrey Nov 6 '17 at 4:54
• Are you sure that you indeed need to vary the brightness, rather than, say, a color? I mean that a slight change of the brightness may be noticeable not enough. If you are sure about the brightness, have a look at the LCHColor: Menu/Help/WolframDocumentation/LCHColor. This might help. – Alexei Boulbitch Nov 6 '17 at 13:47