POV-Ray : Newsgroups : povray.general : Help: Working with color-wheels : Re: Help: Working with color-wheels Server Time
29 Jul 2024 12:19:28 EDT (-0400)
  Re: Help: Working with color-wheels  
From: B  Gimeno
Date: 21 Aug 2011 03:20:00
Message: <web.4e50b163c5a5b2fe93655c1e0@news.povray.org>
>
> In the colors.inc file, there is a macro to convert from RGB to HSV. The
> hue returned is in degree going from 0 to 360.
> Convert your colour from RGB to HSV, add 180 to the hue and convert back
> to RGB and you're done. The saturation and brightness will stay the same.
>
>
> Alain

Thank you very much for your help. My eyes, harmed by random combinations of
colors pink + lime green thanks you too.

B. Gimeno


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.