Specific colours for wordpress author ids

You can check if post’s author has Administrator role like this (and output markup accordingly):

if( author_can( get_the_ID(), 'administrator' ) ) {

    // author is admin
}
else {

    // author is not admin
}

See Roles and Capabilities if you want to check for something more specific than general role.