Skip to content

Commit

Permalink
Changes for Scala 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 19, 2025
1 parent 027cc61 commit 850c053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/iridescence.Cielab.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import anticipation.*
import hypotenuse.*

object Cielab:
given (using ColorProfile) => Cielab is Chromatic = _.srgb.rgb24.asInt
given ColorProfile => Cielab is Chromatic = _.srgb.rgb24.asInt

case class Cielab(l: Double, a: Double, b: Double):
def srgb(using ColorProfile): Srgb = xyz.srgb
Expand Down

0 comments on commit 850c053

Please sign in to comment.