input text color code example
Example 1: edittext hint color
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_10"
android:textColorHint="@color/color_black" -this line-
app:hintTextAppearance="@style/TextLabel">
<EditText
android:id="@+id/et_state"
style="@style/profile_editTextStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/billingState"
android:text="@string/billingState"
/>
</android.support.design.widget.TextInputLayout>
Example 2: css color of input
input{
background-color: white;
}
Example 3: input backgound color
<input style="background-color: gold;" type="text" value="">
Example 4: input type color
<input type="color" value="#f6f82" id="colorPicker">
Example 5: input type color
<div>
<input type="color" id="head" name="head"
value="#e66465">
<label for="head">Head</label>
</div>