Detect Terminal Color "Theme" from Command Line
Terminal Preferences are stored in the com.apple.Terminal.plist file (/Users/$USER/Library/Preferences/com.apple.Terminal.plist) and while it can be read using the defaults command, nonetheless much of it may not be discernible.

Copy and paste the following command into a Terminal and then press Enter:

defaults read com.apple.Terminal