From 60a94a3c16d3b006f34fb810de63632378c68a66 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 26 Jan 2025 00:21:55 -0500 Subject: [PATCH] Do I need double digit months? --- content/posts/mapping-strings-to-rgb-colors/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/posts/mapping-strings-to-rgb-colors/index.md b/content/posts/mapping-strings-to-rgb-colors/index.md index 2680ae8..f723240 100644 --- a/content/posts/mapping-strings-to-rgb-colors/index.md +++ b/content/posts/mapping-strings-to-rgb-colors/index.md @@ -2,7 +2,7 @@ draft: true title: "Deterministically Mapping Strings to RGB Colors" aliases: ["Deterministically Mapping Strings to RGB Colors"] -date: "2025-1-25" +date: "2025-01-25" series: ["strings-to-colors"] series_order: 0 author: "Nick Dumas" @@ -15,6 +15,8 @@ showFullContent: false --- {{< lead >}} {{ }} +## Inspiration +The XMPP site has a document describing https://xmpp.org/extensions/xep-0392.html#algorithm-genpalette ## The Plan - Take an arbitrary UTF-8 string - Generate an RGB or RGBA color code for it in a deterministic way