src/Clio/Widgets/Tables/Column.php
public function setColors($textColor = null, $fillColor = null) {
        
        // if the text color was specified
        if ($textColor) {
            
            // store it
            $this->textColor = new Color($textColor);
            
        // not set
        } else {

            // clear out the text color
            $this->textColor = null;
        }

        // if the fill color was specified
        if ($fillColor) {
            
            // store it
            $this->fillColor = new Color($fillColor);
            
        // not set
        } else {

            // clear out the text color
            $this->fillColor = null;
        }
        
        // chaining
        return $this;
        
    }
public function setColors($textColor = null, $fillColor = null) {
        
        // if the text color was specified
        if ($textColor) {
            
            // store it
            $this->textColor = new Color($textColor);
            
        // not set
        } else {

            // clear out the text color
            $this->textColor = null;
        }

        // if the fill color was specified
        if ($fillColor) {
            
            // store it
            $this->fillColor = new Color($fillColor);
            
        // not set
        } else {

            // clear out the text color
            $this->fillColor = null;
        }
        
        // chaining
        return $this;
        
    }
Set the colors of a column

@param null | int | string | ColorInterface $textColor - any valid setting for the Color constructor
@param null | int | string | ColorInterface $fillColor
@return $this