Skip to content

Commit

Permalink
Update src/EvoSC.Common/Util/ColorUtils.cs
Browse files Browse the repository at this point in the history
Co-authored-by: AtomicLiquid <[email protected]>
  • Loading branch information
snixtho and AtomicLiquid authored Dec 9, 2023
1 parent 679e5f5 commit f44e7b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EvoSC.Common/Util/ColorUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public static string Lighten(TextColor color, float amount) =>
/// <param name="hexColor">Hex color to calculate luma from.</param>
/// <returns></returns>
public static double Luma(string hexColor) => Luma(new Hex(hexColor).ToRgb());

/// <summary>
/// Get the luma of a color.
/// </summary>
Expand Down

0 comments on commit f44e7b6

Please sign in to comment.