As you already know that Android Oreo introduced the new design for media controls, rather than selecting a singular color for the notification based on the app's color, media playback notifications can instead draw colors out of the album artwork. Android then uses those colors to make a notification that blends the artwork into the notification while making the notification itself pop in your notification shade.
May I know how we can do this ?