Using CAPTCHA with a Theme

I am trying to change the background color of the CAPTCHA to match my theme. I know I can change it globally in SiteController.php by changing the backColor to the captcha array. Searching through the forum I found this solution from an older thread (

you can load a theme-config, however, based on your current theme string

public function actions()


    return array(

        'captcha'=> include ($



Does this function get added into SiteController.php? Does just the backColor need to be in this theme-config? Where should the theme-config be located?