From f38ea9db7b3baf68193386cc3b7155a14787a98e Mon Sep 17 00:00:00 2001 From: Brian Beck Date: Wed, 9 Oct 2024 19:56:05 -0700 Subject: [PATCH] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6445526..9410f62 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ singletons, one for each color in the palette. An exception is the `interpolateNormalizedToTurbo` function, which creates a new array each time since it interpolates between Turbo colors. -It is important you don’t mutate the returns RGB values without copying them +It is important you don’t mutate the returned RGB values without copying them into your own array first. When snapping colors to the Turbo colormap, a kd-tree is used to perform