Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
色 X と色 Y の 2 色があります。色 X から色 Y を取得するための適切な関数を見つけるためのスクリプトまたはルールはありますか? ex : color_Y = darken(@color_X, 10%)、色の値があり、少ない関数を見つけたいだけです
それがLESSの基礎となっているので、これは基本的な数学です。それが。color_Yよりも10%暗いとすると、。よりも10%明るいcolor_Xことは理にかなっています。color_Xcolor_Y
color_Y
color_X
color_X = lighten(@color_Y, 10%)