JavaScript Transformation for HSBType


I would like to transform a Color item to a single rgba int with a JavaScript transformation. Unfortunately I only get the Brightness level as an input for the transformation. Are there any possibilities to also get the other values as an input to the transformation?