Skip to content

cf_softlight_color

Category: graphics
GitHub: cute_color.h


Returns a softlight'd color, where the colors are darkened or lightened depending on the blend color.

CF_Color cf_softlight_color(CF_Color base, CF_Color blend)
Parameters Description
base The original color.
blend The blend color to apply a softlight effect with.

Remarks

This function attempts to mimic the Softlight Photoshop blend-layer mode. The blend color is used to adjust colors in the base, while still preserving shadows and highlights of the base.

CF_Color
cf_hue
cf_overlay_color
cf_softlight
cf_overlay