Apologies - java.util.HexFormat That's what I get for firing from the hip, then looking afterwards.
On Sat, Dec 9, 2023, 3:38 PM David Alayachew <davidalayac...@gmail.com> wrote: > Doesn't HexDigits cover 3/4 of these cases? > > On Sat, Dec 9, 2023, 1:20 PM Michael Strauß <michaelstr...@gmail.com> > wrote: > >> If we are going to revisit the `Color` class, maybe we want to provide >> a more comprehensive string formatting API, for example: >> - full-length web strings (e.g. "#ffad341c") >> - compact web strings (e.g. "#ccc") >> - with/without the leading # >> - nearest named color ("darkgoldenrod") >> >> >> On Sat, Dec 9, 2023 at 3:44 PM Eran Leshem <e...@leshem.life> wrote: >> > >> > Hello, >> > >> > >> > >> > Can I contribute an implementation for >> https://bugs.openjdk.org/browse/JDK-8090778? >> > >> > >> > >> > Eran >> > >> > >> >