I’m afraid ACF doesn’t have this kind of feature, so you need to create the logic yourself. There are a lot of discussions similar to this topic on the internet, and one of them is this one: http://serennu.com/colour/rgbtohsl.php.
I hope this helps 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users