#include <QColor>
#include <qmath.h>
Go to the source code of this file.
Namespaces | |
namespace | color_widgets |
namespace | color_widgets::detail |
Functions | |
qreal | color_widgets::detail::color_chromaF (const QColor &c) |
QColor | color_widgets::detail::color_from_hsl (qreal hue, qreal sat, qreal lig, qreal alpha=1) |
QColor | color_widgets::detail::color_from_lch (qreal hue, qreal chroma, qreal luma, qreal alpha=1) |
qreal | color_widgets::detail::color_HSL_saturationF (const QColor &col) |
qreal | color_widgets::detail::color_lightnessF (const QColor &c) |
qreal | color_widgets::detail::color_lumaF (const QColor &c) |
QColor | color_widgets::detail::rainbow_hsv (qreal hue) |
QColor | color_widgets::detail::rainbow_lch (qreal hue) |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition in file color_utils.hpp.