File indexing completed on 2024-04-28 03:41:52
0001 // SPDX-FileCopyrightText: 2023 Carl Schwan <carl@carlschwan.eu> 0002 // SPDX-License-Identifier: GPL-2.0-or-later 0003 0004 #pragma once 0005 0006 #include <QColor> 0007 0008 namespace ColorUtils 0009 { 0010 QColor tintWithAlpha(const QColor &targetColor, const QColor &tintColor, double alpha); 0011 QColor contrastColor(const QColor &color); 0012 }