how to give a background color strip in html and css

CSS
#colorstrip{
    width: 100%; height: 2px;
    border-style: solid;
    border-color: white;
    background-color: white;
}
Source

Also in CSS: