Depends on what phone, and what keyboard you are using. Typically phones do not allow changing color on the default keyboards. Unless you own a Nexus or Pixel, where you can change themes for the keyboard in the settings. In newer Samsung phones, keyboards follow the phone theme. Default is white but you can download different themes. Or you can download a keyboard replacement app like Swiftkey, Swype, or Google Keyboard, which has theme options.