
/* IMPORT */

import channel from '~/methods/channel';
import type {Channels} from '~/types';

/* MAIN */

const saturation = ( color: string | Channels ): number => {

  return channel ( color, 's' );

};

/* EXPORT */

export default saturation;
