
/* IMPORT */

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

/* MAIN */

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

  return channel ( color, 'r' );

};

/* EXPORT */

export default red;
