Advice on choosing a sky color detection sensor

Hi everyone, I would like to carry out an arduino project using a sensor that covers an area of ​​the sky and detects the presence of a cloudless sky or a sky with clouds. I told myself that a color detection sensor would be sufficient because I don't need to have very precise information on the clouds but only to know if a cloud enters the area that the sensor analyzes. Do you think this is possible with the different color detection sensors that I saw while doing my research, and if so, I would be happy to know which one is best suited to detecting color variations in the sky. (Especially regarding blue and white)

Thanks in advance

Any RGB color sensor should work, but they will all give a result that is an average over the entire cone of vision. So if "a cloud enters the area that the sensor analyzes" there might not be an easily detectable change in the various ratios.

Thanks for the answer, I'll try to find a powerful one then, otherwise I'll go about it differently.

What does that mean?

Sorry, I meant finding a powerful sensor that could detect these variations

First, try a couple of RGB sensors, the more bits per R, B and G the better. It might work.

Adafruit and Sparkfun sell a variety of models, including these 6 band spectroscope sensors.

Great thank you very much I will try that!