ChromaPulse
One time purchase and 5 times trial.
“ChromaPulse” は塗りに画像が設定されたノードの
ドミナントカラー(支配色)やアクセントカラー(差し色)を抽出し、パレットを生成する
Figmaで動作する色調解析プラグインです。
マルチプロセス
同時に最大10個までの
画像解析を可能としています。
アルゴリズム
-
ドミナントカラー
画像を支配する色を満遍なく解析し、パレットの生成を行います。
color-thief が採用するメディアンカット量子化(MMCQ)アルゴリズムによる抽出方法です。
-
アクセントカラー
彩度や明度のターゲット値に基づいて色を選び、ドミナントカラーとはひと味違う鮮やかな結果を得ます。
node-vibrant によるアルゴリズムを採用した抽出方法です。
-
アベレージカラー
画像の平均色を得ます。
※パレット数の指定に関わらず、アベレージカラーの抽出で得られる結果は1色のみとなります。
スキャン粒度
画像解析時のスキャン粒度の指定です。
粒度を細かくすると解析用の画像を
強く縮小してから処理するため
高速になり、
粗くすると解像度を保ったまま
処理するため
やや低速になります。
粒度は結果の良し悪しを決めるものではなく、
パレットの色の近さ・バリエーションを
変化させるオプションとお考えください。
細かいほど似た色にまとまり、
粗いほどバリエーションに富んだ結果になります。
ドミナントカラー・アクセントカラーの
いずれにも同様に影響します。
ライブラリ
lokesh/color-thief
Copyright (c) 2015 Lokesh Dhakar
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
luukdv/color.js
Copyright (c) 2023 Luuk de Vlieger
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
akfish/node-vibrant
Copyright (c) 2015 Jari Zwarts
Copyright (c) 2015 AKFish
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.