The tinyColor rgb object conversion considers any object with the three properties r, b and g as valid input. Here's the relevant bit of code -
確定! 回上一頁