@DescartesBeforetheHorse I do not know whether such functions have been studied in literature, but I have at least try to search with SearchOnMath and Approach0 to see whether I find some posts about this in that way.
I see that above - in the searches for titles - I put by mistakes both links to the queries for Mathematics. Here is link for MathOverflow - as I've mentioned, on MathOverflow I did not find posts with color in the title.