/** * Transforms colors to less operations that needs to be applied to the base color * to get the desired color * * @see http://lesscss.org/functions/#color-operations * @param {String} baseColor * @param {String} desiredColor * @returns {String} For example: saturate(#ff8000, 20%); // #bf8040 */transformToLessOperations(baseColor,desiredColor)
Two text-boxes: left and right. In left user will enter source colors, and in right โ dependent.
After clicking button 'Gogogo', system will output in 3rd textbox/column/layer/section result of transformation.
For example:
#ff8000 entered in 1st column
#bf8040 โ in 2nd
then in 3rd we will have: "saturate(#ff8000, 20%); // #bf8040"