* Electron version: 1.7.10
* Operating system: Windows 8.1

### Expected behavior

8 character hexadecimal string is returned

### Actual behavior

1. _CxxThrowException | throw.cpp
2. std::_Xout_of_range | xthrow.cpp
3. std::basic_string_char,std::char_traits_char_,std::allocator_char_ _::assign | xstring
4. std::basic_string_char,std::char_traits_char_,std::allocator_char_ _::substr | xstring
5. atom::api::hexColorDWORDToRGBA

### How to reproduce

Call `hexColorDWORDToRGBA` for any value less than 256 to throw an exception. Additionally, incorrect results are returned in many cases when the alpha channel or red component is less than two hexadecimal digits.

atom/browser/api/atom_api_system_preferences_win.cc
#include "atom/browser/api/atom_api_system_preferences.h"
#include "atom/common/color_util.h"
#include "base/win/wrapped_window_proc.h"
#include "ui/base/win/shell.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/win/hwnd_util.h"
namespace atom {
namespace {
const wchar_t kSystemPreferencesWindowClass[] =
  L"Electron_SystemPreferencesHostWindow";
}  
namespace api {
bool SystemPreferences::IsAeroGlassEnabled() {