Check out this one by nostr:nprofile1qqsqd0y6klqxew4glwggn63jvumrgprnl32tw7hpuzfhv6msgf7y3agpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszyrhwden5te0dehhxarj9ekk7mf0rpvafy

I’m also using to match colors across applications.

https://github.com/andreasgriffin/bitcoin-nostr-chat/blob/f5e5665f7dfd325aabd3e4a236ba785572fb4837/bitcoin_nostr_chat/ui/util.py#L21

Reply to this note

Please Login to reply.

Discussion

Npub, not pubkey should be the input

Yes. It is the npub. I have to rename the variable. I

Why hash it and add extra computation?

Is there anything wrong with just using the `Int` of the npub and doing the modulus on that?

Also, not all hues pop-off the screen in the same way:

- yellow-green range pops more

- purple pops less

That's why I adjust slightly for that.

Plus it gives me the same colors that work in both Light and Dark mode.

But if we could just already agree on a way to determine Hue, I'm a happy man.